Deuteronomy 20:6-7

20:6 Or who among you has planted a vineyard and not benefited from it? He may go home, lest he die in battle and someone else benefit from it. 20:7 Or who among you has become engaged to a woman but has not married her? He may go home, lest he die in battle and someone else marry her.”

Deuteronomy 28:30

28:30 You will be engaged to a woman and another man will rape her. You will build a house but not live in it. You will plant a vineyard but not even begin to use it.