Yes i think so but basically the more you can put away the better, without totally denying yourself any enjoyment today for a future that isn't guaranteed. Most people save next to nothing (and in fairness may not even be able to) and don't even think about a rainy day or retirement until those best compounding years are in the past.
To be fair I do typically work like 60+ hours a week, my car is paid off, and I managed to get good scholarships from college so my expenses are low. Thats the only reason I can max 401k and put in a bunch of savings. After college I’ll have to reduce the savings quite a bit if I still want to do anything enjoyable
The best and most underutilized investment vehicle available is to make full use of your HSA (Health Savings Account). Yes, it sounds weird, but hear me out. You can put in up to $4,300 in 2025 with pre-tax income so that part functions like a traditional 401(k). BUT you can then invest that amount and that growth grows tax-free like a ROTH 401(k) without having to pay the taxes up-front or at all. Literally the best of both worlds.