Who says G-d condones slavery? Or murder? Or polygamy? Or monogamy for that matter?

G-d gifted man with free will -- the ability to choose good over evil. This ability to choose is the only way we can learn and grow spiritually. So having given us the gift to choose, when we choose poorly why should we blame G-d? It is our own yetzer hara (evil inclination) that created the ills of this world. We choose poorly.

G-d gave us the ability to choose good, to be charitable, to take care of each other. If we choose to do none of these, why should we blame G-d?

סופי

And everything that Sarah tells you, listen to her voice. Bereshit (Genesis) 21:12