This was done as a commission - with reference to the fact that all earthly treasures will one day pass away. The moths represent the decay of such treasures.