"Those who disregard discipline despise themselves, but the one who heeds correction gains understanding." Proverbs 15:32The purpose of discipline is not to humiliate. Although it may be somewhat painful at times, it's for our own good.
In one way or another, everyone gets corrected at some point. This correction may come from God, from other humans or from life itself. But, it will never come from the devil.
Therefore, blessed are the meek who accept discipline, because it is a Divine tool that's necessary for salvation.