Maybe it doesn't exist, but I feel like there's an idiom for a situation where, in an effort to solve one issue, you exacerbate or create a second related issue, probably directly.

Out of the frying pan and into the fire doesn't really work because that idiom refers from going from bad to worse, and it wasn't necessarily your fault; I need this to be explicitly that fault of the person performing the action.

Cutting off one's nose to spite one's face also doesn't work since it's not about making something better that inadvertently creates something worse, it's about making something worse out of spite, even knowing it will hurt you in some way.

Edit: backfired/more hindrance than help isn't connotatively what I'm looking for exactly (though it might be as close as I get). The implication in the former is that the action you took had the opposite effect as intended, whereas for my needs the action has to succeed in its original intent, but create problems elsewhere. The latter doesn't seem to match the needed connotation either because it carries an implication that the problem being "solved" is the most important thing but I need the whole situation (problem solved and problem created) to be treated under the same idiom with equal weight. Something along the lines of backfire, but without the implication listed above.

Thanks for the suggestions!