Psa 145:19 He will fulfill the desire of those who fear Him; He will also hear their cry and will save them.
Joh 17:17 "Sanctify them in the truth; Your word is truth.
Joh 4:24 "God is spirit, and those who worship Him must worship in spirit and truth."
Eph 4:20 But you did not learn Christ in this way,
Eph 4:21 if indeed you have heard Him and have been taught in Him, just as truth is in Jesus,
Eph 4:22 that, in reference to your former manner of life, you lay aside the old self, which is being corrupted in accordance with the lusts of deceit,
Eph 4:23 and that you be renewed in the spirit of your mind,
Eph 4:24 and put on the new self, which in the likeness of God has been created in righteousness and holiness of the truth.
God does not hear all prayers nor is He near to all people. Neither can just anyone worship Him--it must be by a new spirit, through the Holy Spirit, and in the Word of Truth.