necessary evil
US /ˈnɛs.əˌser.i ˈiː.vəl/
UK /ˈnɛs.əˌser.i ˈiː.vəl/

1.
notwendiges Übel
something unpleasant that must be accepted or done in order to achieve a particular result
:
•
Paying taxes is a necessary evil if we want public services.
Steuern zahlen ist ein notwendiges Übel, wenn wir öffentliche Dienstleistungen wollen.
•
For some, working long hours is a necessary evil to achieve financial stability.
Für manche ist lange Arbeitszeiten ein notwendiges Übel, um finanzielle Stabilität zu erreichen.