And "everything they have done is in the scrolls," meaning in the books; it has been written against them.
﴿وَكُلُّ شَيْءٍ فَعَلُوهُ فِي الزُّبُرِ﴾ فِي الْكتب قد كُتِب عَلَيْهِم