Bought an used unlocked Moto G7 Power (2019) last year for $40 off ebay then $7 for an otterbox,. I flashed it with LineageOS. Get a 2 day battery life even being 4 years old now, will get updates for a few more years with Lineage. Granted I just make calls, text, and listen to music on it.
If you just do basic things on your phone, a new Moto G Power will treat you well. Just make sure to get one unlocked and non-carrier branded; as some of them will not allow you to unlock the bootloader. If a phone's bootloader is unlockable, you can almost guarantee long term software updates on LineageOS and simultaniously make your phone not such a massive snitch (just don't install gapps).