There are problems with certain unions, but that has to do with the framework around them. When a police union protests because one of their members is found guilty, that looks like a union problem but it’s really a symptom of a deeper leadership problem: you’re hiring a ton of cops who think they’re above the law!
It's never "<specific union> is bad/good, because <specific reason>".
But I wouldn’t consider a good union as a counter example to my “unions bad” conclusion, and I do t believe this to be motivated reasoning.
For you see, by “unions bad” I mean that incentive misalignment makes all unions become self-serving and focus on protectionist policies that are ultimately in the long term a disservice to the workers they represent and the economy as a whole. TL;DR: unions come with bad incentives, and bad incentives eventually result in worse outcomes. Ergo, “unions bad.”