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 the character's development (an element of the story) to the theme of empathy.