The fact that it’s usually women doing the dumb thing is problematic, but these jokes are easily mapped onto whoever you want to denigrate. As a Montana, these were often jokes about North Dakota, and as the scion of a large Norwegian clan, I also often heard these as Sven and Ole jokes.
To me the latter is actually a funnier way to approach them, because it’s two characters who everyone knows are dumb (and who are stand-ins for those people in your life who act this way) and you’re not just blanket insulting a whole group of people.