Deuteronomy 17:17

17 He must not acquire many wives for himself so that his heart won't go astray. He must not acquire very large amounts of silver and gold for himself.

Deuteronomy 17:17 In-Context

15 you are to appoint over you the king the Lord your God chooses. Appoint a king from your brothers. You are not to set a foreigner over you, or one who is not of your people.
16 However, he must not acquire many horses for himself or send the people back to Egypt to acquire many horses, for the Lord has told you, 'You are never to go back that way again.'
17 He must not acquire many wives for himself so that his heart won't go astray. He must not acquire very large amounts of silver and gold for himself.
18 When he is seated on his royal throne, he is to write a copy of this instruction for himself on a scroll in the presence of the Levitical priests.
19 It is to remain with him, and he is to read from it all the days of his life, so that he may learn to fear the Lord his God, to observe all the words of this instruction, and to do these statutes.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.