This life is a karmic life. We are very restless beings and are bound by our karma. Karma means action or more specifically our thoughts and desires.
The true goal of life is to pay our karmic debts which can only happen through the practice of detachment. For example in the movie Groundhogs day situations continually repeat themselves until we can find a new angle to approach life.
To get out of this pattern we must practice sadhana or conscious spiritual practices. When we are able to connect to our true self through sadhana we find lasting peace.