^There were plenty of dying-and-resurrected god figures in mythology before Jesus came along. Osiris, Horus, Orpheus, Adonis, Tammuz, etc. It's an archetype that's been around for as long as humans have personified nature, a symbol of the cycle of the seasons.