Solomon's immense reputation for wisdom crossed the borders of his kingdom, drawing leaders from the entire world to Jerusalem. This pilgrimage of foreign dignitaries was not merely a political phenomenon. Rather, it represented the direct fulfillment of a promise God made to Solomon at the very beginning of his reign, ensuring that He would give him a wise and understanding heart unmatched by anyone [רש״י].
The arrival of these leaders was driven by a profound yearning. They deeply desired to see him personally, traveling specifically to listen to and absorb his wisdom [מצודת דוד]. While parallel historical records broadly state that the entire earth sought an audience with Solomon, this account provides a precise clarification. The general reference to the earth actually points directly to the kings and rulers themselves, who personally made the journey to witness his extraordinary wisdom firsthand [מלבי״ם].