Abu Hurairah (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "By Him in Whose Hand my soul is, the world will not come to an end until a man passes by a grave and will lie over it saying, 'Would that I were in this grave (i.e., dead)!' Not he will say so because of religious reasons but because of widespread mischief and severe trials of this world."[Al-Bukhari and Muslim].
App reference: Book 19, Hadith 14
Arabic/English book reference: Book 19, Hadith 1821