Invest first. Spend what's left after.