Zechariah 3:2 in the King James Version
And the LORD said unto Satan, The LORD rebuke thee, O Satan; even the LORD that hath chosen Jerusalem rebuke thee: is not this a brand plucked out of the fire?
Context
1 He showed me Joshua the high priest standing before the LORD’s angel, and Satan standing at his right hand to be his adversary.
2 The LORD said to Satan, “The LORD rebuke you, Satan! Yes, the LORD 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.