Do you think that Nazi Germany and the USSR were just "trying to maximize their own power and access to resources"?
When we compare morality, we compare morality among contemporaries.