3Now Joshua was clothed with filthy garments, and stood before the angel.
4And he answered and spoke unto those that stood before him, saying, Take away the filthy garments from him. And unto him he said, Behold, I have caused yours iniquity to pass from you, and I will clothe you with change of raiment.
5And I said, Let them set a fair turban upon his head. So they set a fair turban upon his head, and clothed him with garments. And the angel of the LORD stood by.
6And the angel of the LORD protested unto Joshua, saying,
7Thus says the LORD of hosts; If you will walk in my ways, and if you will keep my charge, then you shall also judge my house, and shall also keep my courts, and I will give you places to walk among these that stand by.