These were strong marks of true repentance. See 2 Samuel 12:20.
Related Commentaries of Exodus 33:5
Exodus 33:5-6
5 For the LORD had said unto Moses, Say unto the children of Israel, Ye are a stiffnecked people: I will come up into the midst of thee in a moment, and consume thee: therefore now put off thy ornaments from thee, that I may know what to do unto thee.
6 And the children of Israel stripped themselves of their ornaments by the mount Horeb.