Judges 8:24-27 New Revised Standard Version (NRSV)
24 Then Gideon said to them, “Let me make a request of you; each of you give me an earring he has taken as booty.” (For the enemy[a] had golden earrings, because they were Ishmaelites.) 25 “We will willingly give them,” they answered. So they spread a garment, and each threw into it an earring he had taken as booty. 26 The weight of the golden earrings that he requested was one thousand seven hundred shekels of gold (apart from the crescents and the pendants and the purple garments worn by the kings of Midian, and the collars that were on the necks of their camels). 27 Gideon made an ephod of it and put it in his town, in Ophrah; and all Israel prostituted themselves to it there, and it became a snare to Gideon and to his family.