קְֽנֹה־חָכְמָ֗ה מַה־טּ֥וֹב מֵחָר֑וּץ וּקְנ֥וֹת בִּ֝ינָ֗ה נִבְחָ֥ר מִכָּֽסֶף׃
How much better is it to get wisdom than gold! Yea, to get understanding is rather to be chosen than silver.
Read midrashic interpretation of Proverbs 16:16: and classical rabbinic exegesis.