Question: are jedi the bad guys?
Answer: While the philosophical answer is "it's about perspective", the movies revolve around the Jedi being the Good Guys, and the Sith as the Bad Guys. The Jedi make mistakes, for sure, but in the end it's a Jedi, with his redeemed Sith-turned-Jedi father, toppling the evil Sith Emperor.