Yehoshua circumcised Israel at Gilgal before they inherited the land. Rashi teaches that this rolled away the cherpah of Mitzrayim, and Targum Yonatan ben Uziel already read Yosef’s name as pointing to that act, which the Zohar ties to the keeping of the covenant.