The cost-benefit principal states that

Cost-benefit principle would state that you would only take an action if the benefit outweighs the cost.
For example: It may cost me $5 to drive to work, but I make $50 for showing up, I would go because the benefit I get outweighs the cost and I am better off going than staying at home.