Solomon did not force any Israelites to be his slaves. The people of Israel were soldiers, government officials, officers, captains, and chariot commanders and drivers.
I said to your ancestors: ‘At the end of every seven years, each person must set his Hebrew slaves free. If you have a fellow Hebrew that has sold himself to you, you must let him go free after he has served you for six years.’ But your ancestors didn’t listen to me or pay attention to me.