He did say love God, who alone is good. And if you seek God, the One, you need value nothing else. Indeed if you truly love God, you can value nothing else. He said love one another, unconditionally. He said judge not.
Values are essentially judgmental and conditional.
The Buddha as well instructed us that the root cause of all suffering is desire, which arises from value. Love and values are essentially in conflict. Yet all history demonstrates that people will hold onto nothing more desperately and aggressively than their values, their supposed knowledge of what is good and what is evil. Nothing is more treasured, in spite of the suffering it causes, because all human thought, in its insistence that it is good to have standards of good and evil, is in profound denial of their evil consequences. What the value idolaters do not grasp is that values occur only in magnetic pairs, positive and negative.