Judges 8:26-28 (YLT)
26 and the weight of the rings of gold which he asked is a thousand and seven hundred shekels of gold, apart from the round ornaments, and the drops, and the purple garments, which are on the kings of Midian, and apart from the chains which are on the necks of their camels,
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
3 verses · Compare in parallel · Read all of Judges 8