In Germany the Nazi ideology had been prepared by theorists exaltation of the Aryan races superiority. The so-called superiority, of a biological nature essentially, presented the race as one of masters. This superior race, and the superhuman which characterized it, considers itself exempt from good and evil in morality.
Here we are dealing with an irrational vitalism whose inevitable corollary is nihilism and the fascination with death. The whole of society is organized to serve the protection of the races purity, always threatened with degeneration by the weak. Starting from that point, Hitlers Germany organized the sterilizations, abortions and euthanasia, as well as the "final solution" according to discriminatory criteria.