This is just wrong. The main problem of Venezuela was the central bank policy and fixed exchange rate while printing money, and clientelism at all levels leading to sub efficient systems and unfair competition.
Of course investor left when their dolars lost 60% of their real value when converted in bolivares.