A lot of batsmen are comparable to Kohli in T20s not just Babar Azam since Kohli is not known for his explosive batting like Chris Gayle, etc. Even though he can be explosive at times, his habit of playing shots along the ground is enough to solidify his place as one of the best T20 players if not the best along with Babar Azam (so far).
In ODIs though, these two are just not comparable. Kohli with the average of 60 at 10000+ runs is in his own league. But a lot of people here missing a very crucial ODI stat when comparing Kohli and Babar Azam which is the strike rate. Babar Azam even with his 51 average in ODIs has a strike rate of 85 which might be the reason why Pakistan is not able to score enough runs to win games. What is more interesting is his strike rate goes down to around 75 if you remove his matches minnows. Now that is a disaster. Imagine Sehwag had strike rate of 90 at 50 average in Test cricket.
And let's not even compare Kohli and Babar Azam in Test cricket. There is no batsman in the world who excels in all 3 formats of the game except Kohli. Instead of being salty, Pakistanis should genuinely acknowledge it and maybe inspire from his dedication towards his work and fitness.