The Grace Reading
Almost nobody quotes verse 19. The psalmist keeps going: “But certainly God has heard me; He has attended to the voice of my prayer” (Psalm 66:19). Verse 18 is not a threat he is issuing over anyone. It is a shadow he mentions on the way to announcing that God listened, and he closes the psalm blessing the God “who has not turned away my prayer, nor His mercy from me” (66:20).
Still, notice where he is standing. This is a worshiper under the Law, with a curtain hanging between him and the Holy of Holies and a priest going in on his behalf once a year. Under those terms access was conditional, and everybody knew it. Cherished sin and confident approach could not occupy the same room, because the entire system existed to teach exactly that. Verse 18 is honest reporting from inside a covenant that is no longer the one you live in.
There is something true here that grace does not erase. A heart clutching something does not talk freely. If you are nursing a resentment, or protecting a habit you have no intention of releasing, prayer goes thin. Not because God stepped back, but because you did. Communion needs an open hand, and you always know when yours is closed. That is a description of your side of the conversation, and it is worth taking seriously.
What it is not is a description of God's side. The standing question, will He hear me, was answered somewhere other than in your heart's condition. “Therefore, brethren, having boldness to enter the Holiest by the blood of Jesus” (Hebrews 10:19). The way in was opened once, by a sacrifice that never needs repeating, and the veil that made access conditional was torn from the top down. Hebrews does not tell you to come boldly once your heart is clear. It tells you to come boldly to the throne of grace and find grace to help in time of need (Hebrews 4:16), which is to say, come with the need, because the need is the reason to come.
So bring it. Prayer is communion, not a transaction cleared by inspection. If something in you is making prayer feel small, that is the first thing to say out loud to your Father, not the thing that has to be fixed before you speak. He is not standing behind a closed door waiting on your paperwork. He tore the door off its hinges so that you would stop knocking and come in.
The Common Misreading
This verse gets handed to believers as an explanation for unanswered prayer: something in you is blocking it, so go find the item. It sends people hunting through their own hearts for the offending sin and turns prayer into a clearance process with God waiting on the far side of a gate. That is not pastoral care. That is old covenant machinery preached to people the cross already carried inside.
Prayer is not a delivery system, and quiet is not a verdict on your heart. The blood of Jesus did not make you eligible to be heard on your better days. It made you a child, and children are heard because of whose they are. If sin is dulling your prayer life, the answer was never to clean up before you speak. It is to speak.