The old testament can be summarized in the following passage:
Deuteronomy 20:10-14
''As you approach a town to attack it, first offer its people terms for peace. If they accept your terms and open the gates to you, then all the people inside will serve you in forced labor. But if they refuse to make peace and prepare to fight, you must attack the town. When the LORD your God hands it over to you, kill every man in the town. But you may keep for yourselves all the women, children, livestock, and other plunder. You may enjoy the spoils of your enemies that the LORD your God has given you.''
If a village doesn't want to become your slaves the lord will assist you in murdering the whole population and raping the women. Women were divided among the warriors as spoils of war. Forced marriage and forced sex is rape, sick fucks. Especially when its forced by someone who just killed your whole family.