Per Mosaic law, for a man to sleep with another man's wife was punishable by death for both; likewise for a man who slept with another man 'as with a woman'. The idea that such acts should be punished severely is hardly a new one (the idea of applying punishments to married men who sleep with unmarried women, or to women who sleep with each other, is probably somewhat newer).