A better wording is:
Done work = useful energy spent
The thing is that it is easy to waste energy. I can easily stand and push on a wall for a whole day and waste my effort while spending large amounts of energy on producing the force I push with. No useful work is done. None of the energy I spend goes into useful energy.
In your case, you can easily promise a delivery job done, but if you drive around and put the package back where you started, then noone would come and tell you that you did any useful work. You just wasted your fuel and time and effort. All that energy spent is lost as heat or other things; it is no spent as work done on the package.
But if I carry a heavy block up the stairs then I do some useful work - I move something somewhere else. My effort is not wasted. Sure, there is still a lot of heat generated, which is energy not spent on lifting the stone. That heat is wasted and did not help to do the work. The amount of useful work I did was the amount of energy needed to lift the block - any other energy spent is wasted and was not useful.
This is the idea of that sentence. You must supply exactly that amount of energy needed as work. If you apply any more, then... it is wasted. That's an issue with how the machine (or my body) produces the force needed. Another "machine" might be more efficient in producing the necessary force with less waste energy.