The UK can stop countries from joining the EU
Before the referendum in 2016, claims were being shared that Turkey was about to join the EU, and the UK would have no say in the matter.
Any state joining the EU requires unanimous approval of all the existing member states.
As long as the UK is in the EU, other countries can only join with our approval.