Deuteronomy 21:15

Laws Concerning Children

21:15 Suppose a man has two wives, one whom he loves more than the other, and they both bear him sons, with the firstborn being the child of the less loved wife.

Deuteronomy 23:13

23:13 You must have a spade among your other equipment and when you relieve yourself outside you must dig a hole with the spade and then turn and cover your excrement.