I will repeat once again—no one has any complaints about BRICS as an economic regional union! Everyone has the right to unite if it is beneficial to them! But any union must be built on equal rights, with common interests that do not contradict each other.
In this case, I am talking about some “toxic” members of the union who want to use others, putting them at risk and using them to solve their own problems outside BRICS. In addition, these countries have extremely unstable economies and political problems, and in essence can be a “burden” for other member countries of the union.
Relations with them can also lead to problems for other countries, for example in the form of secondary sanctions. The bottom line is this: we have created problems for ourselves, and now you can solve them at your own expense while we stand aside!
Those practice are normal on international relation, because when one country make relation with other country not base on pure morality but pushed by its national interest (economic stability, national defence and security). Through foreign policy and diplomacy, a country try bartered their weakness to be power. Sometimes they don't have perfect choice due to complexity of bargaining power, national interest and weakness. tHey can only choose from available option and relevan.
I think diplomacy is art of fill bargaining space. I assuming toxic country you discussed is Rusia, Iran, Venezuela. A country usually get this labelling when their national interest is in opposite with dominator of the system, when the conflict intense they got problematic labelling. If we explore, toxic country usually has sellable bargaining power such as energy, military, food supply chain and strategic geography position which bring curse suach as sanction, embargo, isolation. This tpxic country can not choose ally but some country still need them (bargaining space). It is common practice to exploit other weakness, other minus point is our plus point, enemy of my enemy is my ally. other weakness is leverage for others. intersection point is result of diplomacy.
Trust me, each of BRICS member when decide to join truly understand the risk and has make long, carefully calculation between cost and benefit not just solidarity for world peace. Different with NATO, BRICS give dynamic diplomacy spacer rather than an ideology alliance, without defence obligation, without political homogenity, without deep integration.
You have made a very beautiful attempt to present a not-so-beautiful reality

One country is enough for me, Russia, which is essentially now an international terrorist, a violator of international norms and laws, and even simple human moral and ethical rules. Using the same model, can we say that Hitler's Germany and Stalin's USSR, which in 1939 began the bloodiest massacre on earth, simply built their relationships, and everyone else, in fact the whole world, simply got in their way, which is why they attacked Europe and started World War II?
You could also say that if a criminal attacks you and tries to take your life, he is right, he has interests and they do not coincide with yours. And he has also built a relationship with a fence and he owes him your belongings... Or is this a different situation?

The problem is that Russia is now trying to solve its problems, which it deservedly got, with someone else's hands and someone else's lives.
And it is trying to implement this plan not because it will be beneficial to India, for example, but because Russia itself cannot end its criminal activities on its own. I am referring specifically to such “toxic” participants who, through manipulation and lies, playing on regional sentiments, are trying to drag others into very bad games.