This question already has an answer here:
How would you describe someone doing something that is for the common good (well-intended), but is very inefficient, and possibly even harmful to what they're trying to achieve?
The new mayor is finally serious about climate change, but he wants charge all petrol cars $2000 a month, starting today!
To incentivise more women to join our company, the CEO is offering double the men's salary for women who apply for the same role.
The IT department so paranoid about company security that every website must first be signed off by the IT manager before entering.
Pretty much situations that make you think "I agree with what you're trying to do, but that's not how you do it! You'll only end up upsetting people, and make them NOT want to support your ideals."
I've looked at: Counterproductive, hindering, Barking up the wrong tree (too focused on being wrong), misguided, off the mark, carry water in a sieve, bikeshedding, etc., but nothing fits.
Thanks in advance!