Venezuela holds the largest proven oil reserves on earth.
Most of it is extra heavy crude that standard refineries cannot process. You need upgraders, billions in specialized infrastructure, to turn it into something sellable.
Strip away sanctions and the politics and the underlying problem is still a technical one, the oil is there but the global refining capacity to handle it is not.