[The following quote is a supplement to our recent post on God’s omniscience]
To the believer, the fact of God’s omniscience is a truth fraught with much comfort. In times of perplexity he says with Job, “But He knoweth the way that I take” (23:10). It may be profoundly mysterious to me, quite incomprehensible to my friends, but “He knoweth”! In times of weariness and weakness believers assure themselves, “He knoweth our frame; He remembereth that we are dust” (Psa 103:14). In times of doubt and suspicion they appeal to this very attribute, saying, “Search me, O God, and know my heart: try me, and know my thoughts: and see if there be any wicked way in me, and lead me in the way everlasting” (Psa 139:23,24). In time of sad failure, when our actions have belied our hearts, when our deeds have repudiated our devotion, and the searching question comes to us, “Lovest thou Me?”, we say, as Peter did, “Lord, Thou knowest all things; Thou knowest that I love Thee” (John 21:17).
Here is encouragement to prayer. There is no cause for fearing that the petitions of the righteous will not be heard, or that their sighs and tears shall escape the notice of God, since He knows the thoughts and intents of the heart. There is no danger of the individual saint being overlooked amidst the multitude of supplicants who daily and hourly present their various petitions, for an infinite Mind is as capable of paying the same attention to millions as if only one individual were seeking its attention. So too the lack of appropriate language, the inability to give expression to the deepest longing of the soul, will not jeopardize our prayers, for “It shall come to pass, that before they call, I will answer; and while they are yet speaking, I will hear” (Isaiah 65:24).
—A.W. Pink, The Nature of God/ The Attributes of God