The purpose is to help, to prevent, to correct, to improve, rather than to punish. Criticism is not meant to punish, but rather to correct something that is preventing better results. The only goal is improvement.
The four laws of learning are: the first is demonstration of what you want. The second is the criticism of the demonstration. The third is the imitation of the correct model, and the fourth is repetition, over and over until it becomes habit where is you don't think about it.
It is normal to enjoy praise and dislike criticism. True character is when you prevent either from affecting you in a negative matter.