They were descendants of people that the Israelites had not destroyed. Solomon forced them to work for him as slaves, as is still true today.