They were for the testing and proving of Israel to know whether Israel would listen and obey the commandments of the Lord, which He commanded their fathers by Moses.