By default, the mind searches for happiness.
When the mind encounters suffering, it generally first searches for an escape.
If the suffering is inevitable, the mind then searches for a meaning to the suffering.
When meaning is found, the suffering can be tolerated and even accommodated.
One secret of Buddha’s teaching is how to awaken the mind to cease searching.
Because it is the restless searching and struggling that causes misery.
Once awakened, stillness is achieved, amidst profound happiness and meaning.
The restless search ceases.
Such a state of stillness is actually mentioned in Taoism and Confucianism, and many religions too.
Just that Buddha advocates attaining it through awakening.