The problem is coming up with trillions of dollars without stealing it, printing it, or confiscatory taxation.
That is not a problem. Not at first, anyway. Venezuela did fairly well for itself...for a short while.
There was a huge spike in oil prices and Venezuela has huge amounts of oil. There is literally no amount of stupidity that could have ruined that for a little while at least. Other oil exporters that werent insane made huge piles of cash and built up some very large nest eggs for themselves to cushion against periods of low oil prices in the future.