Alma 18:18; “Now when the king had heard these words, he marveled again, for he beheld that Ammon could discern his thoughts; but notwithstanding this, king Lamoni did open his mouth, and said unto him: Who art thou? Art thou that Great Spirit, who knows all things?”
Ps. 94:11; “The LORD knoweth the thoughts of man, that they are vanity.”
No one but God knows the thoughts of men.