Lol Solomon was best knowed for his judgment, his great wisdom!
God did not recommend it? He ask human to kill people for that same reason!
btw cant remeber if you mentionned it but he had 300 concubine too with is 700 wife.
And the bible state that god punished him by splitting is kingdom and giving it to is servant, but only after his death not because of the wifes, but because they have turn him away from God, and he worshipped other God.
1 Kings 11:9-13
And the Lord was angry with Solomon, because his heart had turned away from the Lord, the God of Israel, who had appeared to him twice and had commanded him concerning this thing, that he should not go after other gods. But he did not keep what the LORD commanded. Therefore the Lord said to Solomon, "Since this has been your practice and you have not kept my covenant and my statutes that I have commanded you, I will surely tear the kingdom from you and will give it to your servant. Yet for the sake of David your father I will not do it in your days, but I will tear it out of the hand of your son. However, I will not tear away all the kingdom, but I will give one tribe to your son, for the sake of David my servant and for the sake of Jerusalem that I have chosen.