"I the LORD search the heart and examine the mind, to reward everyone according to their conduct, according to what their deeds deserve." (NIV)
I the Lord search the mind, I try the heart, even to give to every man according to his ways, according to the fruit of his doings. (AMP)
I the LORD search the heart, I try the reins, even to give every man according to his ways, and according to the fruit of his doings. (KJV)