I have selected Allow Countries as Saudi and one another as you can see in below screenshot https://prnt.sc/qjyde9
the issue is that while edit customer record it's showing the different countries as selected from the dropdown in admin general settings.you can check the selected country list in above screenshot. here is showing a different countries. https://prnt.sc/qjyg3f