In anecdotes, atheist deathbed conversions refers famous atheists or assumed atheists that converted "out of atheism" and into theism in their last days, or during their last words; or, conversely, took peculiar precautions to make sure they would not utter theistic nonsense while delusional in their last moments.
Spinoza
In 1677, Benedict Spinoza (1632-1677), who was ranked by Pierre Bayle in 1682 as the "greatest atheist there ever was", took some very peculiar steps in his last days to prevent himself from saying anything in his last moments that might conflict with his new geometrical theory of natural ethics; this was summarized by Bayle as follows: [1]
“Spinoza, sensing that he was near his end, had his landlady come and begged her to prevent any minister from coming to see him in that condition. His reason was, as is known from one of his friends [Adriaan Paets, according to Verniere], that he wished to die without a dispute and that he feared falling into some weakness of the understanding which would make him say something that could be used against his principles. This is to say that he feared that it would be spread about in the world that, when facing death, his conscience having awoken, it made him give the lie to his bravery and renounce his sentiments. Can a more ridiculous and more extreme vanity be seen than this one, and a crazier passion for the false idea one forms of constancy?”
“I am abandoned by god and man; I shall go to hell! I will give you half of what I am worth, if you give me six months life.”— Voltaire (1778), supposed last words [2]
“I am abandoned by god and man. I will give you half of what I am worth if you will give me six months of life. Then I shall go to hell and you will go with me, oh, Christ, oh, Jesus Christ!”— Voltaire (1788), variant of what he reportedly said to his attending physician (Ѻ)
“I would give worlds, if I had them, that the Age of Reason had never been published. Oh, god, save me; for I am at the edge of hell alone.”— Thomas Paine (1809), supposed last words [2]
“I am neither atheist nor a rationalist; I believe in god and am of the religion of my father. I was born Catholic, and will fulfill all the duties of the church.”— Napoleon Bonaparte (1821), statement three weeks before reaction end, Apr 18
See main: Neumann on godIn 1957, Hungarian-born American polymath John Neumann (1903-1957), the last of the last universal geniuses, who was raised in an ecumenical non-serious Jewish family, who defined themselves as Jewish, for reasons of "tradition", who, in his first marriage, nominally converted to Catholicism, albeit presenting himself as agnostic throughout his days to his friends and associates, but who in his last months on his death bed, Apr/May 1956 to his last day of existence on 8 Feb 1957, had Roman Catholic priest Anselm Strittmatter stay by his side, wherein he expressed great fear of death, and asked to have Pascal's wager administered to hims so that he wouldn't have to endure the possibility of eternal damnation.
“I see myself as a being that could, it seems, only come from a creator. This, however, is not a clear, exact idea.”
“I do not feel that I am the product of chance, a speck of dust in the universe, but someone who was expected, prepared, prefigured. In short, a being whom only a creator could put here; and this idea of a creating hand refers to god.”
“On the deathbed conversion – I spent my father’s final weeks and days at his bedside and watched him draw his final breath and die, and can assure you that there was no hint of any sort of conversion (as I’m sure you have already guessed). In fact, we barely spoke about religion at all except for joint expressions of frustration at the god botherers who made the rounds in the ICU and other units where dying people could be preyed upon by vulturous Christians.”