The role of the government is to protect and preserve human rights and values, the people have a say in how they would like their society to be run and function, government represents the will of the people and this is done through the democratic process, I know its not perfect but its far better than having the world be run by unethical and tyrannical corporations.
> huurr the market is failing because of government intervention
LOL that's ridiculous since before we didn't have these institutions capitalism had literally free range, and it resulted in people living in slave like conditions, living in boxes, child labor was common, and people were basically paid a barely livable wage, fuck you. Because of socialist ideals and government intervening , with the creation of the welfare state only were these conditions prevented and peoples lives improved, unions forcing greedy employers to stop these unethical practices and pay their fare share. There needs to be some authority present to regulate and keep capitalism in check.
The free market is an abstract thing, its not real and believing in some invisible hand that will correct it is like believing in a fictional almighty being who lives in the sky, its cringy.