God Hears the Heart, Not Just Words
Commentators explain that this verse isn't about God ignoring any person in trouble. Instead, it highlights that God does not respond to the cry of a hypocrite who calls out only for selfish relief, with no genuine remorse or intention to change. As Albert Barnes clarifies, if a person comes with a truly penitent heart, God will hear them. The issue is the insincere, "double-tongued" prayer of someone who plans to return to sin once the trouble passes.