The judiciary got a lot of its powers, not from the constitution, but from legal precedent it set its self in order to effectively handle issues between citizens, states, or branches of goverments. Normally this isn't a problem as most federal judges know that a lot of their powers are "In case of emergency break glass" type thing. But liberals (especially non Americans that got appointed during Obama and Biden) have no respect for their office or appreciation for their authority. So they abuse their power willy nilly for party reasons.
The system worked fine for the most part, it's the people that got put in charge of maintaining it that are the problem.