As a man thinks in his heart so is he

A man is literally what he thinks, his character being the complete sum of all his thoughts.