Neither of these mention St Peter at the pearly gates, though. The biggest addition the Apocrypha makes is a record of someone praying for the dead. Protestants generally still do recognise the Apocrypha, but just as historical records and not authoritative, hence not a part of the Bible.
Even “the bible” isn’t “the bible”.
“Protestant Bibles have only 39 books in the Old Testament, however, while Catholic Bibles have 46.” source
Neither of these mention St Peter at the pearly gates, though. The biggest addition the Apocrypha makes is a record of someone praying for the dead. Protestants generally still do recognise the Apocrypha, but just as historical records and not authoritative, hence not a part of the Bible.
In Matthew 16 Jesus gives Peter the “keys to the kingdom” and in Revelation the new Jerusalem has pearls for gates. That’s where it comes from.
The pearly gates are biblical. I think the keys are taken a bit literally. But that’s interesting to think about, actually