I’m finding the dialogue of the deaf over Bernie and Cuba exasperating. I’m not going to comment on the details–on the “first-order issues,” we might say. What I want to say is that it helps to clarify the underlying issue and make some relevant distinctions.
The basic issue is that Cuba is supposed to be a dictatorship, which is evil, but Bernie is praising it for increasing literacy, which is good. Assume (for the sake of argument) that Cuba is a dictatorship, and dictatorships are evil. The puzzle is whether you should ever praise an evil thing for doing a good thing; it’s a puzzle whether (or how) good things can ever arise from evil things. Put slightly differently, it’s a puzzle whether evil agents should ever get credit for any of the good they do (or seem to do), given the discredit they deserve for the very great evil they do.