What I’ve learned from the stock market that applies to real life