If you didn't root your phone, but multiple root detection apps go off (don't just try one), there's a good chance some piece of malware managed to root your phone. This is exactly the scenario banking apps include root detection kits for. It could be a false positive, but this certainly warrants further investigation.
If other apps also indicate root access (i.e. antivirus apps), it's probably best to restore factory settings and hope this clears up the infection. If it doesn't, you'll need to restore the entire system from a factory image (if that's possible in the first place) and hope your phone doesn't get infected again.
I would advice installing multiple antivirus apps and having them scan your phone. If they also tell you you've been rooted, I would trust them to tell the truth. If they don't report root access, but do report a bunch of viruses, the virus may have found a way to evade root detection by AV and may be installing weird apps in exchange for money from shitty ad fraud companies. If none of them are throwing up any warnings and only this specific app is complaining, you might want to wait a while and see if it goes away; if could just be a bug in your banking app.
If you can't clear the infection, I'm afraid your phone is rootkitted. In that case, I would recommend you not to use it for anything important. To prevent your phone becoming part of a botnet, you might need to remove your SIM, not enter your WiFi credentials after the next factory reset, and consider leaving it off entirely. If you start needing to enter more and more CAPTCHAs to enter websites, that can be a sign of some kind of infection on your network. If you've noticed something like that recently, it may be connected.
~~Your phone was last updated almost a year ago, so if you were infected, it may just be a matter of time before you're infected again.~~ Edit: I was wrong, it'll receive security updates until early 2026. Staying away from pirated apps and apps from sketchy sources may help prevent reinfection.