Find the word definition

Douglas Harper's Etymology Dictionary
agathism

the doctrine that all things tend toward the good, 1830, from agathist + -ism.

Wiktionary
agathism

n. The doctrine that the ultimate end of all things is good, although the intermediate means may be evil.

Wikipedia
Agathism

Agathism, from the Greek ἀγαθός agathos (good) is, according to the Oxford English Dictionary, "The doctrine that all things tend towards ultimate good, as distinguished from optimism, which holds that all things are now for the best". An agathist accepts that evil and misfortune will ultimately happen, but that the eventual outcome leads towards the good. In other words, an agathist may see the world as essentially good but a place in which bad things can and do happen to good people.