What discrepancies?
One of Paul's letters acknowledges female leadership in the church, such as female deacons.
Another epistle says women should not be in church leadership positions.
John says Jesus is coequal and coeternal with God. No such claim is made in Mark, where the insinuation is that Jesus is son of God, which in Jewish tradition just tended to mean a human who acted with agency of the divine.
Luke and Matthew are inconsistent on the birth narrative and how Jesus came to be born in Bethlehem.
On the other hand, I think atheists are making a mountain out of a molehill in freaking out about the inconsistencies. God did not write the gospels. God did not even sit down and dictate the gospels to their authors. If you read Luke at face value, he takes full ownership of writing his gospel. Humans are obviously fallible, and I don't see any reason the 27 books and epistles of the gospels are supposed to match up cleanly in every detail.
Gospel of Luke 1
Many have undertaken to draw up an account of the things that have been fulfilled*among us,*just as they were handed down to us by those who from the first were eyewitnesses and servants of the word. With this in mind, since I myself have carefully investigated everything from the beginning, I too decided to write an orderly account for you, most excellent Theophilus, so that you may know the certainty of the things you have been taught.