“Your riches are corrupted, and your garments are motheaten.”
King James Version (KJV)
5:2 The riches of the ancients consisted much in large stores of corn, and of costly apparel.
Jas 5:2 Your riches are corrupted. Even their riches in which they trusted are "corrupted", or spoiled. Much of the wealth of that period was in stores of various kinds which time or improper care would destroy. Your garments are motheaten. The rich gathered great stores of garments, carpets, etc. See Mt 22:11,12. These would be liable to be eaten by moths if not used.