Do you have idioms of things that happened that is both good and bad?
A mixed blessing
A two-edged sword
Cuts both ways
Another - very specialized - one is a Pyrrhic victory - Wikipedia, the free encyclopedia. This applies only to a victory - one that cost more than it gained.
b