Have you ever wondered why God doesn't always answer your prayers? According to St. Augustine, that which God refuses to you in His mercy, he grants to others through wrath. So maybe it is a good thing you didn't win the lottery last night! When we ask God for temporal blessings, we should always add ,"If it be for the greater glory of God and the good of my soul." It is a good practice to ask for temporal blessings on the condition they will profit your soul.
James 4:3 You ask, and receive not; because you ask amiss: that you may consume it on your concupiscences.
Spiritual graces should always be asked for, and asked in confidence of receiving them. Final perseverance, (the preservation of the state of grace till the end of life), is, according to St. Alphonsus Liguori, a grace which is only obtained through continual prayer. On our own, we cannot merit the grace of final perseverance, says St. Augustine, who adds this grace is only obtained through supplication. The Council of Trent confirms this: "The gift of perseverance can come only from Him who has the power to confirm the standing and to raise the fallen".
St Bernard teaches to ask for this grace through Mary, for what Mary asks, she obtains, and her prayers are never fruitless. Make it a daily habit to ask the Blessed Mother to obtain for you the grace of final peseverance; that when you die, God will infuse you with His grace that you may withstand the temptations of the devil, who will surely be trying to snatch your soul.
Luke 21:36 Watch ye, therefore, praying at all times, that you may be accounted worthy to escape all these things that are to come, and to stand before the Son of man.