Hermann Samuel Reimarus (1694-1768) exposed this contradiction: he applied the criteria
of plausibility and agreement with sources to examine the biblical story of Jesus. He proved 1. that the biblical narratives of Jesus and his disciples are often not plausible, and 2. that there are a lot of contradictions between the teachings of Jesus and those of the apostles, and so of the church.
Reimarus recommended the following solution, which is critical of the church: that the resurrection was a fraud by the disciples, who wanted to continue making their living as itinerant preachers.
The problem brought up by Reimarus was accepted as a scientific /scholarly problem and led to the German Leben-Jesu-Forschung of the 19th century. But his solution was rightly rejected by subsequent scholars.