They had seen themselves facing total wipeout at the hands of the egyptians, who had chased them to the shore of the sea.