Matthew 6:24 (King James Version)/ 24No man can serve two masters: for either he will hate the one, and love the other; or else he will hold to the one, and despise the other. Ye cannot serve God and mammon.
In response to a question, 'mammon' has roots in Aramaic and its exact origins are unclear in all respects. It is believed to refer to materialism and greed. Early writers often used the term to imply a god of money or acquisition.
A clearer translation might be - "No one can serve two masters; for they will hate the one or love the other; or else hold to one and despise the other. A person cannot serve God and Materialism."
It speaks to the motivations of the individual and things that are held valued as a result of the motivation. An old Native American story illustrates the concept. An elder explained to a child that each person has inside of them two natures:the human and the wolf. The human loves and works. The wolf hunts and destroys. "Which one will a person become?" asked the child. "The one that is fed."
Every person makes a decision at some time or another as to who they will value. What will motivate them. As the old song goes, "You gotta serve somebody...."