Is this a problem for you or merely annoying? I mean the difference between you being blamed for their poor results and you merely being inconvenienced by doing extra work.
You might need to train yourself to accept the situation as it is and hope for someone in authority to make things better. It's not easy, but this might be a good chance for you to build that skill. 🤷
Can you talk openly with your manager about this situation? Would it be helpful to you to propose to your manager that you help that group? Maybe your manager would appreciate your attempt at leadership.
Good luck.
Good news, relatively speaking.
I've been where you are. Most important: don't let yourself start to take responsibility for managerial decisions. If they want you to stand in the corner on your head and cluck like a chicken, it's their money. 🤷 Don't let that change how you see yourself as a programmer.
And roll your eyes in private.