The purpose of creation is for us to exert effort in transforming the materiality of the world into spirituality. Yehoshua led the Jewish people into the Land of Israel, rather than Moshe Rabbeinu, for if Moshe would have done so, miracles would have occurred, depriving us the hard physical effort of elevating the hidden sparks hidden within.