This is the correct course of action.
To OP - yes, you are a bit behind.. good news is you have plenty of time to catch up. When it comes time to invest, there is no need to be fancy - go all in on index fund type ETFs (SPY, etc). Later on you can take a small percentage of your portfolio for...