Now Joshua was dressed in filthy clothes as he stood before the angel.
The angel said to those who were standing before him, "Take off his filthy clothes." Then he said to Joshua, "See, I have taken away your sin,1 and I will put rich garments2 on you."
References for Zechariah 3:4
Then I said, "Put a clean turban3 on his head." So they put a clean turban on his head and clothed him, while the angel of the LORD stood by.
References for Zechariah 3:5