"For he had surely adjured the children of Israel" (Exodus 13:19). And why two oaths? This teaches that Joseph made his brothers swear, and his brothers their sons, and their sons the following generation. "God will surely visit you" (Exodus 13:19). And why two visitations? A visitation in Egypt and a visitation at Sinai; a visitation in Nisan and a visitation in Tishrei; a visitation in this world and a visitation in the world to come. "And you shall carry up my bones from here" (Exodus 13:19). One might think immediately; therefore Scripture says "with you" (Exodus 13:19), meaning when you yourselves go up. Rabbi Meir says: "with you" teaches that each and every tribe shall carry up the head of its tribe along with it. Finished.
Joseph's Bones and the Twofold Oath of Redemption
Pesikta DeRav Kahana 11:25
[כה] כי השבע השביע את בני ישראל וג' (שמות יג:יט). ולמה שתי שבועות, מלמד שהשביע יוסף את אחיו ואחיו לבניהם ובניהם לדור אחר. פקד יפקד אלהים אתכם (שם). ולמה שתי פקידות, פקידה במצרים ופקידה בסיני, פקידה בניסן ופקידה בתשרי, פקידה בעולם הזה ופקידה לעולם הבא. והעליתם את עצמותי מזה (שם), יכול עכשיו, ת"ל אתכם (שם), לכשתהוא עולין. ר' מאיר או' אתכם, מלמד שיעלה כל שבט ושבט ראש שבטו עימו. חסילה.