I’d argue that values are a side effect of gaining wisdom. Or better, using wisdom.
You can have “values” that are complete garbage. You can “value” stuff above relationships, your worth based on others thinking of you, etc.
Wisdom helps you determine what is good and what is not. Without wisdom, values are unjust.