What is the meaning of Chastening?

present participle and gerund of chasten

The act by which somebody is chastened.

Source: wiktionary.org