Zechariah sees Joshua the high priest standing before the angel of the Lord, with Satan at his right hand to accuse him. The Lord says to Satan that he rebukes him and that he has chosen Jerusalem; Joshua is a brand plucked from the fire. Joshua is dressed in filthy clothes before the angel. The angel tells those standing before him to take off the filthy clothes, and says to Joshua that he has removed his iniquity and will clothe him in rich garments.
Zechariah asks that a clean turban be put on his head, and they do so, clothe him, and the angel of the Lord stands by. Then the angel warns Joshua: if he walks in the Lord's ways and keeps his charge, he will rule his house, guard his courts and have a place among those who stand before the Lord.
The angel addresses Joshua and his fellow priests, who are men who are a sign: the Lord will bring his servant the Branch. Before Joshua is a stone with seven eyes, and the Lord will engrave its inscription and remove the iniquity of this land in a single day. On that day, everyone will invite his neighbor to sit under his vine and fig tree.