I did this to test Israel—to see whether or not they would follow the ways of the lord as their ancestors did.”