Warren Buffett said this quote

We need a moderately-priced stock market… The market, like the Lord, helps those who help themselves. But, unlike the Lord, the market does not forgive those who know not what they do. For the investor, a too-high purchase price for the stock of an excellent company can undo the effects of a subsequent decade of favorable business developments.