Market dips hurt, but history offers comfort