When the Israelites saw the king coming with his army, they were frightened and begged the Lord for help.