Another way to say "going to work is for earning money" is "You go to work to earn money"