To prioritize earning or saving money over spending it.
Saving a substantial amount of money to invest.
If I want to get something nice for Christmas, I have to start stacking up before I stock up.
If you want to make good money buying shares, you have to stack up before you stock up.