When the Israelites saw the king and his army marching against them, they were terrified and cried out to the Lord for help.