Note; after Lundbom who points out that the phrase “walked after vanity” is inverted in the Hebrew in v8. The poetic form only roughly comes through in the AV.
A. 5 Thus saith the LORD, What iniquity have your fathers found in me, that they are gone far from me, and have walked after vanity, and are become vain?
B. 6 Neither said they, Where is the LORD that brought us up out of the land of Egypt, that led us through the wilderness, through a land of deserts and of pits, through a land of drought, and of the shadow of death, through a land that no man passed through, and where no man dwelt?
C. 7 And I brought you into a plentiful country, to eat the fruit thereof and the goodness thereof;
C’. but when ye entered, ye defiled my land, and made mine heritage an abomination.
B’. 8 The priests said not, Where is the LORD? and they that handle the law knew me not: the pastors also transgressed against me, and the prophets prophesied by Baal,
A’. and walked after things that do not profit. 9 Wherefore I will yet plead with you, saith the LORD, and with your children’s children will I plead.