Both the psalmist and Jesus warn against placing too much value on material possessions and wealth, urging us to store treasures in heaven.