"six things that Yahwah hates; seven things that". This whole verse emphasizes that God hates several things and not just one. Occasionally, the author will mention a list of six things, or seven things, that Yahweh hates. These numbers are used to draw attention to the list of things. It is not important whether there are six or seven things in the list.