Sure, but that only shows that a good tank is versatile. A Panther or Tiger was just as good at supporting infantry as an M4, but could also successfully fight other tanks. The Germans invented the modern combined arms doctrine, combining armor, troops, artillery and tactical air power. It was the essence of "Blitzkrieg".
The Panther and Tiger, particularly the latter, were worse tanks than the Sherman. Why? Because they were ill-matched to the resources of the country that fielded them.
A Panther or Tiger was just as good at supporting infantry as
a Sherman, but
a Panther or Tiger was
not as good at supporting infantry as
ten Shermans. The Panther probably could have been a great tank if its designers had made a few compromises with reality, but the Tiger could never have been anything but a squandering of precious industrial resources.
The Sherman was marginal for the Allies because, while they could build enough to swarm the battlefield, tank crews required a good bit of training, the Allies didn't have unlimited manpower, and there were political costs (not to mention ethical concerns) to high casualty rates. The Germans had serious manpower trouble as well but their industrial capacity was not up to fielding tanks as difficult and expensive to manufacture as the Tiger. Today, we (the West generally but particularly the U.S.) build the equivalent of a Panther/Tiger hybrid because advances in detection, targeting, and information technology have made it even easier for one superior tank to kill many inferior ones at little risk to itself, and because we are much more willing to expend dollars than lives on the battlefield. The context has changed, so the ideal weapon has changed as well.
You can't analyze the effectiveness of any piece of military hardware out of context. The V2 was a horrible weapon because it was ridiculously expensive for the return. The Ki-84 was a bad-to-mediocre plane because its design didn't take the limitations of Japan's aircraft industry into account. The T-34 was a superb weapon because it was both effective on the battlefield
and capable of being manufactured in the necessary numbers.