It's a good example of how people's morals vary greatly based on their present situation, rather than being some kind of deeply held, unchanging foundation. What people believe is good and bad is largely a function of where they happen to be at the moment.