They were for the testing of Israel, to know whether Israel would obey the commandments of the Lord, which he commanded their fathers by the hand of Moses.