Zechariah 3:1-3 World English Bible (WEB)
3 He showed me Joshua the high priest standing before Yahweh’s angel, and Satan standing at his right hand to be his adversary. 2 Yahweh said to Satan, “Yahweh rebuke you, Satan! Yes, Yahweh who has chosen Jerusalem rebuke you! Isn’t this a burning stick plucked out of the fire?”
3 Now Joshua was clothed with filthy garments, and was standing before the angel.