Because Joseph was Jacob’s favorite son, and because Joseph had dreamed he would be their ruler.
They took him captive and sold him to some slave traders.