1 Kings 8:39

39 then hear in heaven, your dwelling-place, and forgive, and do, and render to every man according to all his ways, whose heart you know; (for you, even you only, know the hearts of all the children of men;)

1 Kings 8:39 Meaning and Commentary

1 Kings 8:39

Then hear thou in heaven thy dwellingplace
Which was more properly so than this Solomon had built, and the Lord had taken possession of:

and forgive;
remove the calamity and distress, be it what it may:

and do, and give to every man according to his ways, whose heart
thou knowest:
that his prayer is cordial and sincere, his confession and repentance genuine, and that he is truly sensible of his sin, and sorry for it, and is pure in his intentions and resolutions, through divine grace, to depart from it for the future:

(for thou, [even] thou only knowest the hearts of all the children of
men;)
he knows all men, the hearts of them all, what is in them, what comes out of them, and is according to them; omniscience belongs only to God; it is his prerogative to know the heart and search the reins, see ( Jeremiah 17:9 Jeremiah 17:10 ) .

1 Kings 8:39 In-Context

37 If there be in the land famine, if there be pestilence, if there be blasting [or] mildew, arbeh [or] caterpillar; if their enemy besiege them in the land of their cities; whatever plague, whatever sickness there be;
38 whatever prayer and supplication be made by any man, [or] by all your people Yisra'el, who shall know every man the plague of his own heart, and spread forth his hands toward this house:
39 then hear in heaven, your dwelling-place, and forgive, and do, and render to every man according to all his ways, whose heart you know; (for you, even you only, know the hearts of all the children of men;)
40 that they may fear you all the days that they live in the land which you gave to our fathers.
41 Moreover concerning the foreigner, who is not of your people Yisra'el, when he shall come out of a far country for your name's sake
The Hebrew Names Version is in the public domain.