The Bible’s explanation of death is described in simple and straightforward terms.
[Psa 146:2-4 ESV] 2 I will praise the LORD as long as I live; I will sing praises to my God while I have my being. 3 Put not your trust in princes, in a son of man, in whom there is no salvation. 4 When his breath departs, he returns to the earth; on that very day his plans perish.
So once we’ve died our thoughts perish, is that where they stay? Not necessarily, for the Bible speaks of a day when the dead will be raised and judged.
[Dan 12:1-2 ESV] 1 “At that time shall arise Michael, the great prince who has charge of your people. And there shall be a time of trouble, such as never has been since there was a nation till that time. But at that time your people shall be delivered, everyone whose name shall be found written in the book. 2 And many of those who sleep in the dust of the earth shall awake, some to everlasting life, and some to shame and everlasting contempt.