A grateful person is rich in contentment. An ungrateful person suffers in the poverty of endless discontentment.
Many of the lessons we are to learn in mortality can only be received through the things we experience and sometimes suffer. And God expects and trusts us to face temporary mortal adversity with His help so we can learn what we need to learn and ultimately become what we are to become in eternity.