Deuteronomy 21:13-16 New Living Translation (NLT)

13. and change the clothes she was wearing when she was captured. She will stay in your home, but let her mourn for her father and mother for a full month. Then you may marry her, and you will be her husband and she will be your wife.

14. But if you marry her and she does not please you, you must let her go free. You may not sell her or treat her as a slave, for you have humiliated her.

15. “Suppose a man has two wives, but he loves one and not the other, and both have given him sons. And suppose the firstborn son is the son of the wife he does not love.

16. When the man divides his inheritance, he may not give the larger inheritance to his younger son, the son of the wife he loves, as if he were the firstborn son.

Deuteronomy 21