In the post-enlightenment Europe of the 19th century the highest authority was no longer the Church. Instead it was science. Thus was born racial anti-Semitism based on two disciplines regarded as science in their day - the 'scientific study of race' and the Social Darwinism of Herbert Spencer and Ernst Haeckel.
Duty is the great business of a sea officer all private considerations must give way to it however painful it may be.