Looking at western culture (the only one I feel confident speaking about), we are still bound by puritanical values that were imposed as control mechanisms but managed to sneak their way into a set of cultural norms as a moral code despite their actual value to us not being evaluated and actively selected.