The greater fool theory of investing suggests that one can profit by buying overvalued assets, believing they can sell them to someone else (a "greater fool") at an even higher price. This strategy is risky, as it relies on the continuous presence of buyers willing to pay inflated prices, and can lead to significant losses when the market corrects itself.