If I remember correctly, Pujara used to average around 50-ish a calendar year until COVID hit, and then he had a little slump. I remember him playing a lot of solid innings in Australia, and England after a small collapse at the top and his ability to hold up an end whilst the guy at the other end attacked.
Azhar Ali was tipped to be the man to take over the Test Side post-Misbah and Younis Khan's retirement, he even became captain and played the same brand of cricket and we lost a bunch of games. Plus, he wanted to lead the ODI side and had to transform his slow approach to fit ODI cricket - which he did a few times very successfully (ala 2017 CT, and a few series against Sri Lanka in the UAE). But in general, when we weren't playing on the boring docile tracks of UAE, he was mediocre at best (maybe a little unfair because his performances were crucified during a turbulent time trying to create a Test side without the older guys).
He averaged 30 odd in England, WI and NZ (where we were trashed resoundingly), and averaged 15 odd in South Africa. His average is heavily propped up by his UAE average of 54 where the pitches are stupidly flat for the first 3 days and we played a bunch of games against WI and Sri Lanka.
Maybe that was a little unfair on him - but I honestly feel that he had a lot more quality in him than his average and his performances suggest. He proved it when he played County Cricket or during his short stint in ODI but may be due to management or for whatever reason - he seemed to prefer just playing out over after over without the solid cricketing technique of someone like Pujara.