The Pearly Gates

What does the expression “the pearly gates” mean?

Definition: the entrance to heaven

Example: When I reach those pearly gates, I hope I am admitted to heaven.

Note: This expression is derived from a description in the biblical Book of Revelations of the gates of heaven as pearls.