Joseph presents five of his his brothers and Jacob to Pharaoh, they are granted the land of Goshen.
Joseph administers distributing grain to the Egyptians during the famine, first for money payment, then with payment of livestock. When they are out of money and livestock, they give Pharaoh they land and themselves as slaves.
This is a little sleazy as Joseph built up the reserve of grain by mandating a portion of their crops during the seven years of bounty, only to sell it back to them.
Joseph lives to one hundred and forty-seven. He requests that his body be returned to Canaan when they go back. This does happen during the Exodus. four hundred years later.