I think that markets classically fail in cases where there are public goods that provide benefits that people cannot capture. The big debate is how big these public goods are, where they exist, things of that sort.
The single most influential force that controls your attitudes, beliefs, capabilities and emotions is repetition - the words you silently use, over and over again, in your internal dialogue with yourself.