Since Joshua's garments were symbolic of his sinfulness, by removing his garments, the angel removed Joshua's iniquity. Causing iniquity to pass from him is an idiom that means that he had removed Joshua's iniquity. Alternate translation: "I have removed your iniquity from you" (See: [[rc://en/ta/man/translate/figs-idiom]])