Right, about Joseph's family starving, but that's one of things so magnificent about God, He has several plans going on at once for the same person.... Often without that person even knowing about it.
In fact, if Joseph hadn't been sold into slavery by his brothers, mankind might have ceased to exist, there's a brain teaser for ya.