Zimri and Cosbi (Numbers 25) were both children of powerful men. I suspect their blatant rebellion was more political than sexual. They were forming an alliance and deliberately subverting the God-ordained power structure of Israel. They were the equivalent of a gay rights parade.