Yahweh said he would spare a few men so they could record the abominations of Israel, and so they would know that the Lord is Yahweh.