"Stupid Flanders!" is one of Homer's catchphrases. He uses it in Little Big Mom when Flanders was shaking his butt in Homer's thought bubble.
It appears in some episodes. This was known as "Stupid Sexy Flanders". There have been some parodies of it. In Future-Drama, when flounder fish steal Homer's underwater patio set, he mutters "Stupid Flounders!".