Star Wars Rebels demonstrated that Ezra Bridger's optimism about the rebel movement was actually a major weakness for the character. Over the series' four seasons, Ezra experienced a long-term character arc that transformed him from a selfish thief to a heroic, self-sacrificing Jedi. However, Ezra also demonstrated a big flaw in Season 1 that hindered his transformation.
Source:https://www.cbr.com/how-an-imperial-spy-targeted-ezra-bridgers-greatest-weakness/