Deuteronomy 17:17

17:17 Furthermore, he must not marry many wives lest his affections turn aside, and he must not accumulate much silver and gold.

Deuteronomy 20:6

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.