Do you still get software updates from the manufacturer?
Also, you do understand that you are probably the exception to the rule that in general iphones seem to get support longer than android phones.
In my opinion, in general, unsafe (outdated) devices should not be used as they are a huge attack vector because there are so many of them.
Last update was 2020, but I don't really care about the updates nor "security", which is just blanket term for lockdown, aka security for the vendor, not your security. Android allows me to do things and does not treat me like a criminal in addition to feeling like I actually own the device.
I don't know if I would keep some of my most private information on a device that has not had security upgrades for two years. Especially when exploits like [CVE-2022-20465](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2046...) which bypass the lockscreen exist.
I wouldn't keep anything important on a phone no matter what phone it is. And even then if I did, I would use separate encryption app for storing such data.
Despite being an Android One phone, it was released with Android 7 but got stuck in Android 9 (Android 13 being the latest version). That makes it two years of updates. Yeah, the Android ecosystem is pathetic like that.