The general trend is still upwards and the Bubbles don't change that.
Of course if you get in just before a bubble bursts, you lose at first and may have to wait a long time to break even. But judging from history (data since 1900) you will break even eventually.