Overall averages don't really tell you much in many cases, and this is like most.
Gooch's overall average doesn't really tell you that much, because as I mentioned earlier he was such an unusual specimin. He averaged 39 between 1978 and 1988, being one of probably only two England batsmen in that time who truly stood-up and was really counted against the West Indian seam-bowlers, averaging 42 (just above the overall point) at a time when there was never, once, a weak attack. Nor did he fail against any other team, with one exception: his record against the generally weaker Australians, though, remained disappointing. He failed to cash-in on the Packer-weakened side of 1978\79, and had an absolute shocker in 1981, before finally doing something real good and proper in the Sixth Test of 1985.
And everything about Gooch was corrected in the aforementioned Indian-summer of his career: between 1990 and the first Test of 1994, he averaged over 60, an astonishing achievement given he passed the age of 40 in that time. He scored against anyone and everyone, strong and weak, and inspired the generation that followed him, the Athertons, Hussains, Stewarts, Thorpes. Read what they have to say - everyone mentions how "Gooch was a colossus" or something along those lines.
Thorpe, on the other hand, averaged just under 42 for the greater part of his career. Like Gooch he had the odd poor series here and there (West Indies 1994, South Africa 1995\96, Zimbabwe 1996\97, South Africa 1998, New Zealand 1999). Then he too had an Indian-summer, but it was shorter than Gooch's and less impressive: in 23 innings (compared to Gooch's 64) he averaged 61 (Bangladesh excluded), the same as against Gooch but against far, far less impressive bowling. He then had an average final series in South Africa, as Gooch had two average final series.
I've never, ever countenanced the thought that Thorpe was a better player than Gooch TBH. The bowling at large during their careers was moderately similar, but Gooch had one standout attack amongst the other good ones (there really wasn't one such in Thorpe's career), and he performed against it where so many others failed.
And Gooch's Indian-summer, as I say, was far more impressive.