2 verses of the World English Bible have both "eaten" and "moth".
Job 13:28 though I am decaying like a rotten thing, like a garment that is moth-eaten.
James 5:2 Your riches are corrupted and your garments are moth-eaten.
In other translations: KJV ASV YLT Darby Webster Geneva