I think the Romans and Greeks had ideas of an afterlife before that too, no? Like the idea of Elysium. As well as a concept of Hell in the form of Tartaros.
"The earliest Book of the Dead on record dates to the mid-fifteenth century BCE, but some of the spells had their origins in the Pyramid Texts from the 5th and 6th Dynasties, carved more than 1000 years earlier."
Earlier than 2500BCE?