Are there zombies in ancient books?

According to most movies and novels, zombies become zombies because bacteria and viruses are immersed in the human body or something else, right? In ancient times, there was no condition to carry out this technology. This kind of bacterial culture was impossible in ancient times. Yeah, but none of these things really exist, so it's not bad to write ancient zombies. It's quite novel.