@roboneko Earth is post-scarcity and post-currency. Starfleet is. A lot of the Federation is, but not all of it. Places outside the Federation generally are not, except e.g. the Borg.
People on DS9 dealt with money because the station was an interface between the Federation and the rest.
People on shore leave in TNG received some credits to play with.