I literally haven't met a single person that's regretted learning about and putting money into index funds.
I have, however, met a LOT of people that's regretted buying crypto, individual stocks, NFTs, and real estate.
Take this information as you will.