"You cannot serve God and mammon" sounds strange when the older word is left untranslated. The term refers to wealth or possessions. Jesus' forceful wording makes wealth act like a master demanding service.
The saying therefore concerns more than whether a person happens to possess money. It asks whom the person ultimately serves.