There are many lessons in Sura 27, The Ant/Al-Naml, regarding Solomon and the understanding between knowledge, authority, and wisdom.
The first thing we learn about Solomon was that he was bestowed with knowledge.
27:15 We endowed David and Solomon with knowledge, and they said, “Praise GOD for blessing us more than many of His believing servants.”
The second thing we learn about Solomon was that he was the heir of David, making him a king, along with some of the knowledge that was bestowed upon Solomon.
27:16 Solomon was David’s heir. He said, “O people, we have been endowed with understanding the language of the birds, and all kinds of things have been bestowed upon us. This is indeed a real blessing.”
We then see that Solomon had a vast army of jinns, humans, and birds at his disposal.
27:17 Mobilized in the service of Solomon were his obedient soldiers of jinns and humans, as well as the birds; all at his disposal.
So far we see the that Solomon had knowledge and authority, but it is not until his interaction with the ants do we see his first sign or wisdom.