Does erode mean to wear away?

yes