Judges 8:27-28 (YLT)
27 and Gideon maketh it into an ephod, and setteth it up in his city, in Ophrah, and all Israel go a-whoring after it there, and it is to Gideon and to his house for a snare.
28 And Midian is humbled before the sons of Israel, and have not added to lift up their head; and the land resteth forty years in the days of Gideon.
About Judges 8: Joshua 8 continues the story of Gideon after the victory over Midian. The people offer him rule over Israel, but he refuses in verse 23. He says the Lord shall rule them. Yet right after this humble word, he asks for the gold earrings from the soldiers. He melts them down to make an ephod, a priestly garment or idol. In verse 27, all Israel goes whoring after it in his own town of Ophrah. It becomes a snare to him and his family. Read the study notes
2 verses · Compare in parallel · Read all of Judges 8