I feel the idea that the Jedi had become flawed by the time of the prequels and were partly responsible for the rise of the Empire and the fall of Anakin is an idea that is part of the canon now, but was never really intended in the movies. It’s only in the Clone Wars show (I haven’t watched it, but from what I’ve heard), the EU, and even the new movies (for ex: Luke telling Rey about the Jedi allowing Palpatine to rise) that this notion is ever established. I read some parts of the ROTS novelization recently and at the end it seems Yoda realize their failings and errors, but that’s just in the novel, not in the movie.
In the movies, the only times it’s adressed that the Jedi are flawed is by the bad guys (Dooku, Palpatine, Anakin/Vader), so it just seems like typical bad guy talk (“You guys are no better than me” kind of speech) with no real weight.
So, did George intended to show the Jedi this way? Or was he thinking the Jedi were 100% good guys with no flaws, but it didn’t really translate that well in the final products, so that was retconned later?