Are you citing Matthew 6 or the parable of the rich fool? Because those passages are explicitly NOT about optimizing worldly wealth. Christ isn’t warning us about confiscation risk.
He’s warning us about attachment.
Treasures in heaven aren’t harder money. They aren’t money at all.