My boss gave me stupid directions - stuff I knew was wrong or inefficient. I tried to convince her otherwise, she wasn't having it, and I'm in trouble if I don't do what she says. Fine, I'll follow your stupid orders, no problem. My dad taught me, "If they want a little bullshit, give 'em a little bullshit."
Then in a meeting with her and her boss, I get asked why I did the stupid thing. "Well, I was directed specifically do to that very thing."
He says to me, with her right there, "Well, you need to take responsibility for your actions."
Started applying the next day, now have a team working for me who are great, and my greatest fear is giving them stupid directions.
Don't give directions. Offer support. Unblock them. Teach them to be autonomous experts. Good managers help their teams do their work by making sure they don't have to do anything but their work.
You probably already know this, but I'm saying it for the group. Good managers exist, and their role is to help actual workers work more effectively and remove obstacles to good work. Not to tell people how to work.
I've known several people that were good leaders until they became management, then it just became like Danno's experience. "Fuck you, I got mine" was all too common of a way of thinking at my former place of employment.