I came across many Bible translations that said that Jesus was slain before the foundation of the world, in Revelation 13:8. But I came across the New American Standard Bible, which reads- All who dwell on the earth will worship him, everyone whose name has not been written from the foundation of the world in the book of life of the Lamb who has been slain.
Every other translation says it was Jesus who was slain before the foundation of everything, not the names being written in the book of life. I'm a little confused. First, I thought it was talking about satan being slain, since the war in Heaven happened before we were created.
Can anybody help me with this? Is this a translation error?