2 verses of the Darby Bible have both "moth" and "rotten".
Job 13:28 One who, as a rotten thing consumeth, as a garment that the moth eateth.
James 5:2 Your wealth is become rotten, and your garments moth-eaten.
In other translations: KJV WEB ASV YLT Webster