What does Matthew 6:19 mean?

Matthew 6:19 KJV
Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal:

Matthew 6:19 MKJV
Do not lay up treasures on earth for yourselves, where moth and rust corrupt, and where thieves break through and steal.

Matthew 6:19 NKJV
“Do not lay up for yourselves treasures on earth, where moth and rust destroy and where thieves break in and steal;

Matthew 6:19 KJV 2000
Lay not up for yourselves treasures upon earth, where moth and rust does corrupt, and where thieves break through and steal:

Interlinear KJV

Lay /thesaurizo/ not /me/ up /thesaurizo/ for yourselves /humin/ treasures /thesauros/ upon /epi/ earth, /ge/ where /hopou/ moth /ses/ and /kai/ rust /brosis/ doth corrupt, /aphanizo/ and /kai/ where /hopou/ thieves /kleptes/ break through /diorusso/ and /kai/ steal: /klepto/

Albert Barnes’ Commentary

Verse 19. Lay not up for yourselves treasures, etc. Treasures, or wealth, among the ancients, consisted in clothes, or changes of raiment, as well as in gold, silver, gems, wine, lands, and oil. It meant an abundance of anything that was held to be conducive to the ornament or comfort of life. As the Orientalists delighted much in display, in splendid equipage, and costly garments, their treasures, in fact, consisted much in beautiful and richly ornamented articles of apparel. See Ge 45:22, where Joseph gave to his brethren changes of raiment; Jos 7:21, where Achan coveted and secreted a goodly Babylonish garment. See also Jud 14:12. This fact will account for the use of the word moth. When we speak of wealth, we think at once of gold, and diver, and lands, and houses. When a Hebrew or an Orientalist spoke of wealth, he thought first of what would make display; and included, as an essential part; splendid articles of dress. The moth is a small insect that finds its way to clothes and garments, and destroys them. The moth would destroy their apparel, the rust their silver and gold; thus all their treasure would waste away.

{f} “upon earth” Pr 23:4; Lu 18:24,35; Heb 13:5