Latin america and even india are proofs that "pure" protectionism does not work. Even China is an example of free trade working. China opened up
massively, reduced customs, reduced costs of doing business etc for 3 decades before moving towards more restrictive and more protectionist policies. After learning as much as possible from foreign corporations that flocked to China. Even now, free trade would be much more beneficial to china economically if it wasn't for the current geopolitical situation. Of course it was very far from a totally deregulated free market, but the Chinese government
craved foreign investment for most of the 1990s-2000s and did everything to attract it. India on the other hand has a very bad reputation when it comes to international investment
because of it's famously poor economic (and protectionist/populist) policies that made investment very risky.
It's very hard for a country like India or Argentina to actually innovate when they restrict themselves to a local pool of knowledge, talent, and experience. And that's precisely why India has lagged far, far behind China even if they were ahead in the 1970s-80s. You don't want to reinvent everything all the time, it just isn't possible without lagging far behind and that's what happens with protectionism.You will almost always end up with a low skilled economy with basic economic output (like beverages or commodities).
It's easy to totally replace coca cola with local alternatives, it's impossible to do for sectors like semiconductors or finance when you have to start from almost 0 because no one wants to invest in a protectionist economy.