1 Kings 8:39 (KJV)

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; even thou only, knowest the hearts of all the children of men;)