As he thinks in his heart, so is he.

The Bible

Proverbs 23:7