They were [left], to prove Israel by them, to know whether they would listen to the commandments of Yahweh, which he commanded their fathers by Moses.
which he commanded their fathers by the hand of Moses; even all the commandments of the Lord delivered to them by Moses, moral, civil, and ceremonial, and particularly those that concerned the destruction of the Canaanites, their altars, and their idols, Deuteronomy 7:1.