Re the OP, see also myths from Egypt and Greece concerning deities who died and were resurrected. Seems to be a recurring archetypal theme.
https://en.wikipedia.org/wiki/Dying-and-rising_godFurther food for thought:
https://en.wikipedia.org/wiki/Tammuz_(deity)
Tammuz, statue by Imre Schrammel, National Theatre of Miskolc, Hungary.Tammuz (Syriac: ܬܡܘܙ; Hebrew: תַּמּוּז, Transliterated Hebrew: Tammuz, Tiberian Hebrew: Tammûz; Arabic: تمّوز Tammūz; Akkadian: Duʾzu, Dūzu; Sumerian: Dumuzid (DUMU.ZI(D),
) was the name of a Sumerian god of food and vegetation, also worshiped in the later Mesopotamian states of Akkad, Assyria and Babylonia.
https://en.wikipedia.org/wiki/AdonisNotably, the early Christian church was largely a Greek-based church. Whether they borrowed from local legends to make their story more convincing to gain converts when writing the gospels is a moot point.