King Solomon was known for his wisdom and understanding, but he also made some mistakes. One of the mistakes he made was building temples for the gods of his wives, which went against the laws of God. This showed a lack of wisdom and respect for the faith of his people. It also led to the eventual downfall of the kingdom of Israel. Another mistake he made was marrying many wives and having many children, which was also against God's laws and led to conflicts and divisions in the kingdom. However, it was his wise judgment in the case of two harlots that demonstrated his wisdom, as he was able to discern the truth and render a just verdict.