Solomon's palace was the home of a very large royal family, the national capitol building and supreme court, the headquarters of a small empire, and a kind of royal university. We shouldn't be surprised or offended at the expense and grandiosity described in 1 Kings 7.