I read somewhere recently that a myth/legend takes at least two generations after the last of the eye witnesses have died off to develop i.e. no one left alive to challenge any of the details. The earliest books of the New Testament were put together within about 40 years of Jesus's death with evidence from eye witnesses who were alive in Jesus's time.