What you wrote isn't a fact, it's a claim, and a shoddy one at that. If you're basing it on anything other than hearsay, I'd love to see your proof.
Source for that fact?
This is around the time JSONB was introduced[1].
There was also (not sure if still developed) an interface called ToroDB, which allows you to plug in a MongoDB application to store data in Postgres. The interface provides Mongo compatible layer and the application still thinks it talks with Mongo. Even with the extra translation layer, ToroDB was faster than original MongoDB[2].
[1] https://www.enterprisedb.com/postgres-plus-edb-blog/marc-lin...
[2] https://www.slideshare.net/8kdata/torodb-internals-how-to-cr...
That EnterpriseDB benchmark is a comically inept hit piece. See: https://newbiedba.wordpress.com/2017/05/26/thoughts-on-postg...
Fact: Postgres with its JSONB datatype is a better Mongo than Mongo...