You have two options:
The slow or fast way.
The slow way – work your way up the corporate ladder, max out your 401k, maintain a low cost of living, avoid debt, save every penny you can and invest in a S&P 500 ETF.
Depending on your lifestyle, this method could allow you to be financially free in your 40–50’s.