וַיִּקַּ֨ח מֹשֶׁ֜ה וְאֶלְעָזָ֧ר הַכֹּהֵ֛ן אֶת־הַזָּהָ֖ב מֵֽאִתָּ֑ם כֹּ֖ל כְּלִ֥י מַעֲשֶֽׂה׃
And Moses and Eleazar the priest took the gold of them, even all wrought jewels.
Read Jewish philosophy on Numbers 31:51: Rambam's Guide for the Perplexed, Saadia Gaon, and classical Jewish philosophical sources, free online.