1) It’s a false dichotomy. There are more paths forward other than “tolerate <ally>’s misbehavior” and “let <perceived threat> control the region”. The fact that this line is used by those who want more power should make anyone wary.
2) Tolerating the gross misbehavior of one state or leader because you perceive them as a bulwark against other worse leaders is an extremely foolish course. Not only does it expose ones ideals as being hollow and situational, but it often creates new problems that must be contained later.