وَكُلَّ إِنسَـٰنٍ أَلْزَمْنَـٰهُ طَـٰٓئِرَهُۥ فِى عُنُقِهِۦ ۖ وَنُخْرِجُ لَهُۥ يَوْمَ ٱلْقِيَـٰمَةِ كِتَـٰبًا يَلْقَىٰهُ مَنشُورًا ﴿13﴾ ٱقْرَأْ كِتَـٰبَكَ كَفَىٰ بِنَفْسِكَ ٱلْيَوْمَ عَلَيْكَ حَسِيبًا ﴿14﴾
13 And every man's augury have We fastened to his own neck, and We shall bring forth for him on the Day of Resurrection a book which he will find wide open. 14 (And it will be said unto him): Read thy Book. Thy soul sufficeth as reckoner against thee this day.
Al-Isra 17:13–14 on Quran.com · Pickthall’s translation
Surah al-Isra mentions a book, and it is not the Quran. It is the book each of us is writing with our life. Allah says that on the Day of Resurrection He will bring out for every person a book they will find spread open, and they will be told: Read your book. Today you are enough to take account of yourself (al-Isra 17:13 to 17:14). Whether you think of it this way or not, you are an author. Every day you add a page. The question is not whether the book will be opened. It will. The question is what you will be glad to find in it.
Think about how an ordinary author works. A writer can live one life and write about a completely different one. They can make themselves braver, kinder or wiser on paper than they ever were. This book is different. You are its author, but you do not hold the pen. The recording angels do the writing. Allah describes them as noble guardians who write things down, who know whatever you do (al-Infitar 82:10 to 82:12), and says that not a word is spoken but there is a watcher ready beside it (Qaf 50:17 to 50:18). So nothing goes in that you did not actually say or do. Your actions are the text.
An ordinary author also chooses what to leave out. A difficult chapter can be skipped, an embarrassing detail cut. The book of your life leaves out nothing. Surah al-Kahf describes the moment it is laid open. People look at it in dismay and say: What kind of book is this? It leaves out nothing small or great, but has counted it all (al-Kahf 18:49). Notice what is happening there. They are complaining about their own book, as if the book were at fault for being accurate. But it only holds what they put into it.
Every reader knows a book can start well and end badly. Sometimes you finish one and think: what kind of ending was that? The ending of your book depends on you. If it ends well, you are given your record in your right hand. Allah says such people will read their book and will not be wronged even a thread (al-Isra 17:71), and that one of them will call out happily: Here, read my book! I always knew I would meet my account (al-Haqqah 69:19 to 69:20). He had been preparing for that day, and now he is glad of it.
If the book ends badly, the record is given in the left hand, and that person says: If only I had not been given my book, and never known what my account was (al-Haqqah 69:25 to 69:26). However much they weep and regret it then, it will not help. That is the whole point of hearing this now, while the pen is still moving. A bad chapter does not have to be the last one. Turning back to Allah with sincere istighfar is how a new chapter begins.
So read your life the way you would read a draft. What have you written this week? What would you want the next page to say? Ask Allah for taqwa, for excellence in what you do, and for a good ending to your book. You can see where these verses sit in the surah on the Surah al-Isra mind map.