Deuteronomy 20:6-7
6 Has anyone planted a vineyard and not begun to enjoy it? Let him go home, or he may die in battle and someone else enjoy it.
7 Has anyone become pledged to a woman and not married her? Let him go home, or he may die in battle and someone else marry her.”