The thing to keep in mind while investing in all-time high stock markets: