Cuba's poverty is only relatively good (ie not actually good) when you restrict its peers to the countries of South America.
But when you consider that when Cuba transitioned to communism it was a fully developed economy not a developing country you can understand how badly they have regressed.