1Kgs 4:29-30

Fame of Solomon's Wisdom 29God gave Solomon very great wisdom, discernment, and breadth of understanding as vast as the sand on the seashore,30so that Solomon's wisdom surpassed the wisdom of all the people of the east, and all the wisdom of Egypt.