The Simpsons - Season 31 Episode 16 Better Off Ned Putting the Fun back in Dysfunctional!
Overview: Bart bonds with Ned Flanders, which leaves Homer jealous, so he retaliates by mentoring Nelson Muntz; a heroic act by Homer makes Bart look up to him again.