Do you think online shaming is justified when someone says something offensive?

Do you think online shaming is justified when someone says something offensive?