just as the nazis justified imprisoning people for their religion , ethnic back ground , sexual orientation and political ideals that didnt agree with their leaders ideas of purity , so would these people do whatever they thought was right to protect their own standard of moral purity .