Solomon showed lack of wisdom in marrying foreign wives. Despite being warned by God not to marry foreign women who would turn his heart away from God, he still married many wives from different countries. This resulted in him turning away from God and worshipping foreign gods, which ultimately led to the division of Israel after his death.