The sentence that connects an element of a story to a theme is:
"The main character's change from being overly critical to compassionate helps readers understand that empathy is needed to understand others."
This sentence directly links a character's development (an element of the story) to the overarching theme of empathy.