וְלֹ֤א יַרְבֶּה־לּוֹ֙ נָשִׁ֔ים וְלֹ֥א יָס֖וּר לְבָב֑וֹ וְכֶ֣סֶף וְזָהָ֔ב לֹ֥א יַרְבֶּה־לּ֖וֹ מְאֹֽד׃
און ער זאָל זיך ניט מערן װײַבער כּדי זײַן האַרץ זאָל זיך ניט אָפּקערן; אױך זילבער און גאָלד זאָל ער זיך ניט מערן אַ סך.
Rashi
ולא ירבה לו נשים NEITHER SHALL HE MULTIPLY WIVES TO HIMSELF only eighteen, for we find that David had six wives, and it was announced to him (by Nathan the prophet): “[Thus saith the Lord … I gave thy master’s wives into thy bosom] … and if that had been too little, I would add unto thee such and such as these (i.e. twice as many)” (Sanhedrin 21a).
Chizkuni
וזהב לא ירבה לו, “and he is not to amass gold for himself.” Rashi understands this imprecise instruction to mean that he must not amass more gold than necessary in order to pay the wages of his soldiers. (Sifri)
Rabbeinu Bahya
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערSiftei Chakhamim
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערRav Hirsch
צוטריטלעך נאָר פֿאַר פּרעמיום־מיטגלידערRashi
וכסף וזהב לא ירבה לו מאד NEITHER SHALL HE GREATLY MULTIPLY TO HIMSELF SILVER AND GOLD — but only as much as he needs for his soldiers’ pay (Sanhedrin 21b).