When the Israelites saw the king and his army coming after them, they were very frightened and cried to the Lord for help.