Shame can teach us many lessons if we listen. It can help us not shame others. It can help us stop believing untruths about our self, quit blaming our self, and playing the victim role. It can help us be more compassionate and have empathy for ourselves and others. It can help us ground our identity in truth.
Shame is a curse that can be a blessing in disguise if we use it as a learning tool.
Go deeper, read What if Shame Has a Bigger Purpose Than Us?, post 11.