Old & deleted Apple account verification keeps popping up
This pop-up to verify old & deleted Apple account keeps popping up every day, it's very annoying, I feel I tried everything to stop it but nothing works. Now, my question is, is it safe to completely restart my iPhone? That is, to bring it back to factory settings? Keep in mind that now I'm using new Apple account and the one that keeps popping up is old and deleted, that's why I'm scared to reset my iPhone on factory settings because I might get stuck on login page and not be able to use my iPhone until login is completed to the old Apple account (which is not going to be possible because it's deleted).
[Edited by Moderator]
iPhone 15