Luke 18 ends with a teaching about the Kingdom of God, a prediction of Jesus' death, and a healing.
In the teaching on the Kingdom of God, Jesus is asked by a wealthy man what he must do to inherit eternal life.
For the beginning his question is flawed. We cannot do anything to gain an inheritance, it is a gift, not something we earn.
Jesus then goes on and teaches that it is about priorities. God is to be central to everything and if anything gets in the way, including wealth, we need to reexamine our priorities.
How are your priorities when it comes to your relationship with God?