The inhabitants of Sodom and Gomorrah weren’t Hebrews that I recall, nor were the Egyptians. The Philistines were also smitten with cancer-like diseases when they took possession of the Ark of the Covenant, especially when they had the temerity to put it before an idol of their false god Dagon.
From what I remember, they tried to get the visiting Angels to have sex with them. From what happened the Angels were not exactly pleased with the proposition.