This is also mentioned in 2 Chronicles 9 verse 13. This chapter showcases the zenith of Israel power and wealth, with Solomon collecting 666 talents of gold per year. It's generally read as a coincidence with the New Testament Book of Revelations reference to 666 as the mark of the beast.
REVELATIONS chapter 13 verse 18:
 Also it causes all, both small and great, both rich and poor, both free and slave, to be marked on the right hand or the forehead,  so that no one can buy or sell who does not have the mark, that is, the name of the beast or the number of its name.  This calls for wisdom: let anyone with understanding calculate the number of the beast, for it is the number of a person. Its number is six hundred sixty-six.
It's possible to read this as a prophesy connected with the same numerical accounts written in 1 Kings and 2 Chronicles. Today, what we call the "Greek Septuagint" would have been considered holy scriptures by those practicing Judaism within most of the Roman Empire, including it's sect of Christianity. The entire New Testament was written in Greek, and it's canon added to that of the Septuagint. Those Scriptures accounting for Solomon's Gold were available to the Apostle Paul and the author of Revelations.
We may ask why the author of Revelations use 666 as the code of for the mark of the Beast. There are 2 choices, either it was an arbitrary number, or it was relevant to something else. If it was relevant to something else, then it could be referencing Solomon's Gold.
Reading Revelations chapter 13 verse 18 we see a couple of possible coincidences ...or relevancies. If it is to be read as relevant to Solomon's Gold then we can look at similarities to the Chapter and Verse structure, like so...
2 Chronicles chapter 9 verse 13.
(a) 666 occurs in chapter 13 of Revelations but verse 13 in Chronicles.
(b) 666 occurs in verse 18 of Revelations but 2 Chronicles chapter 9 in Chronicles. 2 X 9 = 18
(c) 6 occurs 3 times. 18 divided by 6 = 3. 3 "6s" are Arabic numerals for 666.
(d) Arabia is also providing Gold to Solomon, as mentioned in the verse from 1 Kings and 2 Chronicles.
(E) During the era when the New Testament was written, Greek was common written language of the Roman Empire, because Alexander the Great had previously established Greek Culture and the Greek Language as the International Language of his empire. That held true during the Roman Empire, except that the persons running Government, who were considered the wise ones, and their legal administrators, used the Latin Alphabet and wrote Roman Law in Latin.
... it was common to use Code during the Roman Empire, where numbers were associated with letters, in their order within the proper alphabet. When reading Revelations as supernatural prophesy, it's possible to believe that the code was written for modern times, and only fully understandable at the "proper time".
... for instance, if hypothetically it were relevant to today, as supernatural prophecy, we could attempt to crack the code, like so...
... first lets consider the instructions within Revelations. a) we need to calculate the number. b) it requires someone with "wisdom". c) and it lets us know that everyone who follows the beast will have the mark on their forehead or arm.
... --in Roman times, voting was common for politicians. Someone who votes would receive a mark on their forehead or arm so they wouldn't vote twice. -- it requires "wisdom" someone who can read the Latin alphabet to associate numbers to letters. Solomon collected Gold from Arabia, so lets try Arabic numerals 666. Lets try associating the digits to Latin characters: many have tried that and failed. Let's try the 18th character because the verse in Revelations was the 18th verse. That gives an (R). Revelations says we need to "calculate the number" lets try that. Revelations says that it's the number of the name. Let's also try that: A full name has three names, first middle and last. Let's divide the whole name by 3, from 18, to get 6 for each name: first, middle and last. or in Arabic numerals 6-6-6.
So, (R) would be representative of the 18th verse. We can calculate a political name for someone with the mark of (R) and get 6-6-6. And, we can figure that everyone who votes for the Politicians with the mark of the (R) as receiving the politicians through their voting mark for the (R) candidate. They would not be able to buy or trade unless they endorsed the (R) political movement, or The Beast. And, the Beast would be trying to replicate Solomon's Gold at all cost.
There, that's an example of how to crack the code assuming it is relevant to Kings and Chronicles. And that it supernaturally was relevant to today's day and time. (R) would be the actual mark of the Beast, and it has to be calculated, and it has to be the number of the name. And it requires wisdom (Knowledge of Latin alphabet, and the ability to associate with Arabic numerals, which of course today everyone can do that.)