When we look at the words of the prodigal son in the light of prayer, we see that his words are expressing a simple, yet basic truth about true prayer. Without genuine repentance in your heart, there is no true prayer. Wherever there is the genuine work of the grace of the Holy Spirit within the heart of the man or woman producing a genuine repentance and sorrow over sin before God, there will also be a felt need to pray. Prayer arises out of the soil of genuine repentance. As contradictory and incredible as that may sound to an unbeliever, to someone who does not know the things of God, yet, when a person knows himself to be a sinner, and when a person, by the grace of God, feels the shame for his sin and understands that he is without excuse for his sin, he is drawn by these things to God.
Repentance produces prayer.
It is exactly impenitence in a hard heart which separates a person from God. The Scriptures are very plain on that. There the Scriptures are telling us that when heaven appears to us as brass and when prayer apparently has no power in our lives, it is not because God is absent or that His ear cannot hear or His mighty hand of grace cannot help us. That is not the problem. But the problem is, so often, that our sins separate us from our God.