Slavery was legal, concentration camps were legal, apartheid was legal. Legality is about control, not morality.
I was in a very dark, very bad place in early 2018 and all that was getting me through it was that I wanted to know how Game of Thrones ended. You can laugh at that, I do.