Faith and hope lead us to want to have what we believe in and hope for. The more we want it, the more we learn to love it and want to concentrate on it. Our turning to God is made easier if we take practical steps, which include turning away from other things which attract and distract us and going apart in solitude, being still so that we can listen to God.
Naturally, most of us would like to die a peaceful death, but it is clear that we cannot hope to die peacefully if our lives have been full of violence, or if our minds have mostly been agitated by emotions like anger, attachment, or fear. So if we wish to die well, we must learn how to live well: Hoping for a peaceful death, we must cultivate peace in our mind, and in our way of life.