Then he showed me Joshua the high priest standing before the angel of the LORD, and Satan standing at his right hand to accuse him.
The LORD said to Satan, "The LORD rebuke you, Satan! Indeed, the LORD who has chosen Jerusalem rebuke you! Is this not a brand plucked from the fire?"
Now Joshua was clothed with filthy garments and standing before the angel.
He spoke and said to those who were standing before him, saying, "Remove the filthy garments from him." Again he said to him, "See, I have taken your iniquity away from you and will clothe you with festal robes."
Then I said, "Let them put a clean turban on his head." So they put a clean turban on his head and clothed him with garments, while the angel of the LORD was standing by.
And the angel of the LORD admonished Joshua, saying,
"Thus says the LORD of hosts, 'If you will walk in My ways and if you will perform My service, then you will also govern My house and also have charge of My courts, and I will grant you free access among these who are standing [here].