Sharing vaccines with other countries may prevent the emergence of new variants.