I agree! the key point is stability as when people’s basic needs are increasingly met they aren’t as susceptible to reactionary ideas and propaganda that their issues are due to X group.
It takes time and education to change opinions on this stuff unfortunately. Even with Castro’s public support it was still a few years before the constitution was changed because as you said the voting populace still has contradictions.
Capitalism will eventually lead to crisis tho and reactionaries will use those to strip away these rights and target these groups which is why I still think the meme is correct that the only way to get lasting rights for all people is to reject capitalism.