The box office is often wildly misinterpreted. The entire covid era is completely uncomparable to anything that happened in phases 1-3. It's completely impossible to say how truly successful any of those movies were based on the box office. (Even No Way Home, which is probably the clear end point of the pandemic, could easily have perhaps made even more in a world where no one was staying home from the theaters because of Covid.)
Post covid, the MCU box office returns have been clearly good with the only real exception being Ant-man. And not only were they clearly good, they were literally about on par with phase 2, which is exactly where they should be because phase 3 levels of box office could not possibly have been maintained indefinitely. Seriously, compare MoM to Civil War while taking into account the fact that MoM was kept out of a variety of countries that Civil War released in for purely political reasons: the truth is MoM made more money than CW in the countries it actually got to show in. Love and Thunder came in under Ragnarok worldwide, but not by that much and also while being kept out of countries that Ragnarok released in.
The only ones we can seriously view as even potentially concerning are Wakanda Forever for making so much less than BP and Ant-man for actually failing. And even then, anyone who seriously expected Wakanda Forever to make the same amount of money as BP was just setting themselves up for obvious disappointment. I don't think that was ever possible even in the hypothetical world where the star of the movie didn't die before it could film. In the world we live in, Chadwick died and yet WF still made over 800m ww. That's a damn good success. And in any reasonable assessment, a better success than any non-Avengers film from phase 2.
So, yeah, Ant-man is the only real weak link here. And it deserves that status, to an extent at least. (I still maintain its actually the best ant-man movie overall, but it certainly isn't close to the level of any of the other phase 4 or 5 movies except Eternals and yes both of them are deeply mediocre at best.) But it still made 400m+ despite the worst reviews in the history of the MCU, is not at all the least successful movie in MCU history financially, and clearly did not torpedo the possibility of people being interested in other MCU movies given the success of Vol. 3.