Ver. 21. And I took your sin— That is to say, the occasion or matter of your sin, the idol which you had made: it is a metonymy frequently found in Scripture. See Isaiah 31:7.
Related Commentaries of Deuteronomy 9:21
Deuteronomy 9:21
21 And I took your sin, the calf which ye had made, and burnt it with fire, and stamped it, and ground it very small, even until it was as small as dust: and I cast the dust thereof into the brook that descended out of the mount.