Some people are rich with gold and weigh their silver on the scales. They hire a goldsmith, and he makes it into a god. Then they bow down and worship it.
When the people of Ashdod rose early the next morning, they found that Dagon had fallen on his face on the ground before the Ark of the Lord. So they put Dagon back in his place.