Yeah, the attempts to make the jedi look like villains were poorly done. I say that as someone who actually likes the idea of writing jedi and sith as villains or heroes in different contexts. On the bright side, it could be so much worse. Case in point:
Starcraft, an IP that I have a love/hate relationship with, suffers a similar problem. Except here it's supposed to be "light side bad! dark side good!" Except even then the writers are too incompetent to stay consistent on that. All of the light side villains have reasonable motivations if you bother to read the lore (which isn't actually explained in the game but in supplemental books nobody reads, because again the writers are fucking idiots). All of the other villains are dark siders anyhow, and all of them are sociopaths, idiots or both except for one sympathetic villain who only appears in supplemental sources written by freelancers. In fact, the light side only becomes a villain w/o reasonable motives when it gets subverted by the main antagonist of the second game (who has been retconned as the main villain of the entire franchise up to that point) who is a dark sider with plot device powers that do anything the plot requires.
I didn't think it was possible to be worse than the Star Wars sequels, but Starcraft somehow is worse. And it's not even woke, either. The game was made by sex offenders who constantly wrote the female characters as shallow eye-candy who can get away with genocide because the writers are simping for them.