The word for human, insān, comes from the Arabic word meaning forgetfulness. It is a mercy from Allāh ﷻ to forget painful memories. But there are good things you mustn’t forget, especially the Qur’ān you learned by heart. Say ṣalawāt on the Prophet ﷺ to cure forgetfulness.