Assalamu alaikum wa rahmatullahi wa barakatuhu!
In the Name of Allah, Most Gracious, Most Merciful
Among the many pieces of advice which the Messenger of Allah (saw) gave to the Muslims was the following:
The sign that Allah has turned away from His worshipper is his busying himself in what does not concern him; and if a man has passed an hour of his life in other than for which he was created, it is certainly fitting that his grief should be prolonged (on the Day of Judgement), and whosoever has reached (the age of) forty, and his good deed does not surpass his evil, let him prepare for the Fire.
This advice should suffice the people of knowledge.
(Imam Ghazali ra)