It's true if someone criticizes me then I'm definitely happy because criticizing me can definitely correct all the mistakes I made. Man is only fallible, a man is never perfect. There are many people who get upset if they are criticized but it is never right because every time people criticize one of your posts you will gain knowledge from that criticism and you can gain better experience.
because there is a form of criticism that brings down the mentality, but as you experienced, there is also constructive criticism.
You can see mentally demoralizing criticism for those who scam or plagiarize. especially if they don't feel they have made an obvious mistake. More experienced members will criticize and comment to bring down his mentality with evidence.
the case of criticism will be different. As you experience is constructive criticism. more members will provide suggestions for your future development and not bring you down.
Each person's character is different regarding this problem. We cannot assume that everyone responds the same when we give criticism.