It's quite unlikely football is one of the few sports without a doping problem and with only very few cases where the referee was paid off.
Since ancient times in Rome where they said "bread and games" are needed to keep the commoners happy, many generations of rulers had time to optimize large-scale sports events.
My personal theory is that these kind of extremely unfair decisions in football are a net benefit to stability of society, and there's no incentive for the leadership to aim for full fairness in sports.
Hear me out: When a team loses in unfair manner due to bad decisions of the referee, large masses of people feel the psychological pain of being robbed of a win. This feeling of "unfairness" makes the masses more resilient to experiencing "unfairness" in their day-to-day life, for example when a billionaire is not prosecuted in the same way than a common person.
If we turn the logic around and assume that football would always be perfectly fair, then the masses would demand the same kind of fairness also in their day-to-day lives. Obviously this demand for fairness is not aligned with an establishment class that wants to extract the maximum value possible from their citizens, and push as far as they can without risking stability of the country.
From an establishment perspective, it makes a lot of sense to condition the masses for "unfairness", and sports is the perfect way to do it. I'm not saying that the individual referees are paid off to let a certain country win, just that the establishment who runs each country (and thereby also run international sports organizations like FIFA) have no incentive to actually create total fairness.
This might also explain issues like the IOC re-instating russia for olympic games, even though they have not retreated from Ukrainian territory yet. It triggers people who strongly feel about morals and ethics, and it brings the point home that the world is unfair and it makes no sense to push for fairness in the greater context.
The benefit is psychological conditioning for people to accept unfairness.
edit: replaced "soccer" with "football"
I don't know why you are calling it 'soccer'.
It's FIFA World Cup - Fédération Internationale de Football Association. Football, not soccer.