Zechariah 3:3-5 NIV

3 Now Joshua was dressed in filthy clothes as he stood before the angel.
4 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

5 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