Decadence
A major topic of both אחרי מות and קדושים is sexual morality. Parshat אחרי מות gives the warning against forbidden relationships, and Parshat קדושים gives the warning.
There is another Pasuk that warns against acting in the ways of מצרים or in the ways of כנען. Rabbi Soloveitchik contends that Egypt was the most technologically advanced country and Canaan the most primitive. The Rambam said that Egypt had reached the peak of decadence. This was evidenced by the fact that men married men and women married women. Isn’t it interesting how there is a connection between technological advancement and decadence? Sounds pretty familiar.