What other countries got right in securing a Covid-19 vaccine before South Africa

Fuelling anger about the lack of vaccine availability in South Africa is the awareness that countries in similar economic straits to South Africa have already started rolling out the injections. What did these nations do that South Africa didn’t?