I have often been asked to explain how Exodus 21:7-11 can be reconciled with the goodness of God.
And if a man sell his daughter to be a maidservant, she shall not go out as the menservants do. If she please not her master, who hath betrothed her to himself, then shall he let her be redeemed: to sell her unto a strange nation he shall have no power, seeing he hath dealt deceitfully with her. And if he have betrothed her unto his son, he shall deal with her after the manner of daughters. If he take him another wife; her food, her raiment, and her duty of marriage, shall he not diminish. And if he do not these three unto her, then shall she go out free without money.
"Give instruction to a wise man, and he will be yet wiser: teach a just man, and he will increase in learning." (Proverbs 9:9)