Perhaps that's what the picture looks like in dry statistics. But there are, as always, small nuances:
1. Everyone remembers the saying "There are three kinds of lies: lies, blatant lies and statistics. The modern world has adapted it to the reality, and it sounds like this: "There are four kinds of lies: lies, brazen lies, statistics and Chinese statistics"

2. Russia's GDP is the most fake number in these statistics. The reason is trivial - the war economy. On the one hand everything is fair - gdp is big. BUT ! It is the GDP of the military economy, where more than 40% of the budget goes to destruction and annihilation. In a day/week/month, 40% of the produced domestic product becomes shrapnel, smoke, burnt tanks, or dead servicemen of the Russian Federation.
3. g7 - An informal international club of seven economically most developed countries. And compare the composition of the BRICS . I do not want to offend BRICS, but it looks like a bunch of losers gathered around China and India, in the dubious hope that they will gold them...
4. and if we talk about statistics - let's look at the GDP of countries not only belonging to this or that organization, but also their partners ?
https://data.oecd.org/gdp/gross-domestic-product-gdp.htm#:~:text=Gross%20domestic%20product%20(GDP)%20is,and%20services%20(less%20imports).
I understand that you like BRICS, but you have to be realistic - it is not an alliance of creation, development and mutually beneficial relations. It has a completely different goal, which I have already mentioned many times. And there are no friendly relations in BRICS, this is a fact that cannot be denied.....
And the final, the simplest question - how many BRICS countries (except for the pariah countries), were able to give up interaction with the Western civilized market for a full cycle of interaction within the "great BRICS" ?
But the countries of the developed west easily refuse the products of China, Russia, Iran and the like....