This Bible contradiction is from the Skeptic's Annotated Bible.
Matthew 1:16 View context
And Jacob begat Joseph the husband of Mary, of whom was born Jesus, who is called Christ.
Luke 3:23 View context
And Jesus himself began to be about thirty years of age, being (as was supposed) the son of Joseph, which was [the son] of Heli,