A king will always need a lot of money to do his duty. He needs an army to protect his people. He builds a palace to live like a king. He has to maintain his court. Thus, there is a lot of money involved, but a king should not aim to accumulate money. “He shall not acquire for himself excessive silver and gold”. Again the problem is not the money but the heart. Money can become a god. Mammon, the god of money can enchant your heart, as Jesus says in Matthew 6:24.
17 Qu'il n'ait pas un grand nombre de femmes, afin que son cœur ne se détourne point; et qu'il ne fasse pas de grands amas d'argent et d'or.