The doctrine of "rights" is also a doctrine, a false one, behind which there is a demon responsible for it. That demon is the spirit of mammon who feeds on envy and discontentment with what one has. He feeds on the flesh which seeks only and can only seek to satisfy itself. That is exactly what Jesus meant when He said that no one can serve two masters. No one can serve both God and mammon. A person will either love one and hate the other (Matthew 6:24). There is no middle ground for this.
What serving mammon, or being under the spirit of mammon, means simply is to fail to fully give up all of oneself to serving God. That is why Jesus said that "If any man will come after me, let him deny himself, and take up his cross daily, and follow me" (Luke 9:23). He is referring to anyone, not just the rich young ruler as some Christians try to make it out to be. God is no respecter of persons (Romans 2:11; Acts 10:34).