No. Lots of people are closer to God than the Pope. There are lots of little Grandmas and Grandpas out there who spend their whole day praying and doing good works - these people are closer to God than anybody.
The Pope is the guy in charge of the administration of the Church - kind of the “boss” of its earthly, temporal affairs.
For example, he could say, “Hey all you little Grandmas out there, here is a new prayer that you can say,” (or words to that effect) and he would authorize a new prayer that people can use. (Pope John Paul II did that when he brought out the Luminous Mysteries of the Rosary.)
Or if people are arguing about something, he could gather up a group of theologians and say, “Study this until you have an answer,” and they would do that, and then the problem would (hopefully) be solved, and if not, he would just say, “We don’t know, really.” That sort of thing happens a lot.
He is also in charge of making sure that the Catholic Church never officially teaches any kind of heresy - that is, anything that causes people to misunderstand who Jesus is, or who God is, or get them mixed up about other things that we know to be true. He is given special protection by the Holy Spirit to make sure that he never makes any kind of mistake with regard to that. The Holy Spirit has done that before - for example, He protected all the people who were writing the Bible from writing down anything that wasn’t really true, too.