Sometimes I feel bad for the people whose legacy was tainted by scientific racism, especially if they lived to see its end and changed their opinions accordingly. Lovecraft is an example of this.
Oh he never stopped being a xenophobe, but he drew a line between his personal dislike and the idea that other races were inherently inferior. This is a good read: https://motifri.com/lovecraftcontext/
I like to think that if he hadn't died so young his personal tastes might have matured.