In a hadith the Prophet (pbuh) says that the believer is created to go through trials. This life is a series of trials. Trials to your faith, physical trials, financial trials we are always going through trials. We loose track and then come back to Allah. That is the nature of man. The true believers are the ones who go astray but then ask forgiveness and come back to Allah.
The Prophet (pbuh) said the believers are forgetful. We forget about the realities of the hereafter. We have to manage our heart and Iman through reminding ourselves about what we believe in through making dhikr and reading the Quran.