Why did God allow Solomon to have 1,000 wives and concubines?

This article has been translated into the following languages:

عربى Español Indonesia Kiswahili Magyar Polski Português සිංහල