They were to test Israel, in order to know if they would obey the commandments of the Lord, which He commanded their fathers by the hand of Moses.