1 verses of the Young's Literal Translation have both "eaten" and "moth".
James 5:2 your riches have rotted, and your garments have become moth-eaten;
In other translations: KJV WEB ASV Darby Webster Geneva