But prayer works because God is in control, and he always comes through on his promises. He had promised the Israelites they were his chosen people. His power and authority were greater than the Egyptians, and now was the time for him to act. In his wisdom and goodness, he sent Moses to be their leader and to lead them out of Egypt and slavery.