Jesus teaches about treasures in heaven in the Sermon on the Mount.
Wealth on earth can be stolen and is of no value after death.
Treasures in heaven are secure and cannot be taken.
Where your treasure is, so is your heart, and you must choose between serving God or wealth.