Have a read about the world’s worst market timer: https://awealthofcommonsense.com/2014/02/worlds-worst-market...
In short: there’s never been a 20 year period where the broad-based US large-cap equities index have lost money. The future isn’t guaranteed, but I’m betting on that record to continue.