I remember earlier there was discussion about whether it was Lucas’ intention to depict the Jedi as flawed and arrogant and that they failed Anakin. Well the answer to that is no.
https://www.quora.com/What-was-George-Lucas-trying-to-say-in-the-prequels/answer/David-Talks-SW
I recommend reading this guy’s answers, he’s really good and does a lot of research.