Yeah, but claiming that money is a thing of the show's past is as old as the show itself. The voyage home:

Almost 30 years ago we got this great bit between Picard and Lily in First contact:
— The economics of the future are somewhat different. You see, money doesn't exist in the 24th century.
— No money? You mean you don't get paid?
— The acquisition of wealth is no longer the driving force in our lives. We work to better ourselves and the rest of humanity.
This, of course, from a man with inherited real estate in La Barre... But there are several anticapitalist barbs in TNG and DS9, too.
[Edited first to add GIF, second because I got my wires crossed re private property and money]