Better a little with righteousness than much gain with injustice. Proverbs 16:8
I think in looking at this passage that we need to get a sense of what the word righteousness means. Righteousness according to Webster is: acting in accord with divine or moral law; free from guilt or sin. This is exactly how Jesus was and continues to be. This is exactly how Jesus wants us to be. Having less but being righteous in God's eyes is better than gaining worldly possessions in the wrong way. Unfortunately, owning “stuff” has a tendency for some people to be more important. Teenage years can be tough. When we see others that may have the newest clothes, phones, or cars, it can cause us to have envy and perhaps even “covet thy neighbor’s goods”. Sometimes the temptation is so great that people take what others have for themselves. When we look at the first part about being righteous (made "right" with God through Jesus' sacrifice) and living righteous as opposed to the second half, living in a sinful way, the choice is always ours to make. Do you want true riches in Heaven or here on Earth?
I once heard a wise pastor say that when he ministers to the elderly on their death bed, he has never heard any of them ask for their “stuff” as they were dying. Instead, they ask for their family, their friends, their loved ones. You know, the things that are important. We can all ask ourselves, what do you value? Where do you want your treasure? And, are you willing to earn it?