"I hereby put you in charge of the entire land of Egypt" Genesis 41:41.
In “The Will of God as a Way of Life,” Jerry Sittser debunks the fallacy that God’s will for our lives is like the cheese at the end of a maze; that it’s up to us to work and search until we figure out what it is.
Instead, he says: “Jesus wants us to devote our time and energy to all the little tasks we must do every day, not to the big decisions we occasionally have to make. The little responsibilities we do prepare us for big responsibilities later on, little actions set the stage for big ones, and faithfulness in things that appear to have only modest importance enables us to respond wisely to duties that seem (and perhaps are) very important."
Joseph was rejected, enslaved, accused, imprisoned, forgotten--and obedient for 13 years. That's how he was prepared to become the ruler of Egypt.