 The biblical text credits Joshua among the leaders that inspired a momentum towards the reconstruction of the temple, in Ezra .Later some of his sons and nephews are found guilty of intermarriage.Facts concerning the later part of Joshua's life are in part dependent upon whether Joshua was still alive at the time of his appearance in a vision seen by Zechariah.