Do everything with the intention of doing it for Allah. Only good works profit the afterlife. Allah is generous in His favour so don’t be heedless. Just like a clever trader, snatch every opportunity for profit. Collect as much as you can but, protect it from the thieving ego and shaytan and all that may destroy it.