Moral inversion
A moral inversion was a sociological phenomena in which a society's concepts of right and wrong had traded places with each other.

In 2268, Spock was unable to find a parallel to the Iotian society in 's computer, specifically one where a moral inversion such as theirs had occurred. ()
Philosophy