Understanding how the mind works is the foundation of a successful life that does not cost us our peace.