The part about timing it perfectly is not true. You can time it, for example predict that the market will crash, shift your money to bonds now, the market goes up for another year and then dips below the level you exited at. At that point, you can shift back and you'd have made less money than someone who timed it perfectly but more money than someone who stayed.