When you believe "God" sanctioned it (whatever "it" is), you convince yourself it's just and righteous.
Once you are disabused of the notion that "God" has anything to do with it, it's really easy to see how sick, evil and twisted much of the Bible accounts really are.