1 Kings 8:39

39 then hear from heaven, your dwelling place. Forgive and act; deal with everyone according to all they do, since you know their hearts (for you alone know every human heart),

Read 1 Kings 8:39 Using Other Translations

Then hear thou in heaven thy dwelling place, and forgive, and do, and give to every man according to his ways, whose heart thou knowest; (for thou, even thou only, knowest the hearts of all the children of men;)
then hear in heaven your dwelling place and forgive and act and render to each whose heart you know, according to all his ways (for you, you only, know the hearts of all the children of mankind),
then hear from heaven where you live, and forgive. Give your people what their actions deserve, for you alone know each human heart.

What does 1 Kings 8:39 mean?

John Gill's Exposition of the Bible
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 ) .

California - Do Not Sell My Personal Information  California - CCPA Notice