When the Israelites cried out to him because of Midian,