Historically, markets move to the extremes. But these movements have always been temporary. Both phases provide you opportunities to gain. Bear markets provide the opportunity for buying good companies at a discount.
Buy in a bear market and sell in a bull market. This requires courage to venture, while keeping emotions under control.
If you want to learn more check out these resources: