I have been told ever since I was a little shit that when you die you go to heaven first wait in line for St Peter to judge you at the pearly gates? Is this in the Bible? I thought god did judging
So, Peter at the gates comes from a more or less literal interpretation from the passage where Jesus was making Peter the first pope. “To you I hand the keys to the kingdom of heaven….”
What Jesus was saying is that Peter got to decide who was in the Blood Ritual Cannibal Club,
Keep in mind, the books were written well after Jesus died, and the scriptures weren’t canonized until 300 years later; at the council of Nicaea- which was called specifically to “unify” the church. A lot of the choices about what was canon or not was specifically made to protect the bulk of the bishop’s authority (by drawing a straight lineage of succession from Peter.)
Honestly, the whole thing becomes a LOT more intriguing when you start adding back in the non-canon books. And I can totally see why the church deemed them heretical in a lot of cases, they pretty well fly in the face of a powerful centralized church, and if you're in power, seeking to maintain it, it only makes sense to destroy them.
Jesus was a rebel. He hated the state. Assuming he was a real person, he was a bastion of hope against an authoritative rule.
Considering literacy rates among the lower classes ~2000 years ago, it's not really surprising there was a lot of oral tradition until he was co-opted to control the people. And oral traditions usually lead to exaggerated elements, such as miracles.
Think about what we'd be saying about George Washington or any of the other founding fathers, if reading and writing weren't commonplace, and most of what we knew of him was oral tradition. Hell, even despite the writings, we still have a heavily romanticized view of them.