Read Genesis 50
After Jacob dies his body, as requested is taken to his own tomb. I've often wondered if Israel should have left Goshen and returned to Canaan at this time. The famine was over, Joseph and his family had a certain amount of wealth and means. Just a thought. History does tell us what happened. Because Joseph was well respected and the people comfortably prospered, they remained in Egypt.
Which caused other problems, primarily the people of Israel inter married with the Egyptians and many of them brought the Egyptian idols in their homes.