I believe the answer is: cultural relativism
cultural relativism refers to a certain set of idea, principles, or value that should be understood based on the culture where that person is from.
We use cultural relativism to measure the 'good' or 'bad' of the people's behavior based on the culture that they're used to, not the culture that we currently has.