Entry level macs (of all models, at least the older ones) are actually quite decent if you are a "normal" user and make sure to close only the windows and the apps themselves - and reboot once in a while.
I'm on the early 2011 MBP base model (no SSD), using it for Stata, R, the Office suite, mail, web, iTunes, iPhoto and Spotify. Even some editing of raw photos in Lightroom (but not too many pictures at once
) Basically, opening any and all app is something you do before preparing dinner, then it might be done by the time the dishes are done and the kids have gone to sleep, but once the apps are opened it honestly runs surprisingly smooth. Opening a Word document without the app being open can take up to a minute, whereas opening the same document when Word is already running takes a few seconds. Even fairly large Excel data sets open fast enough for the wait to not be annoying - if Excel is already running that is
I've gotten the mid level 21.5" 2017 iMac with 16 GB RAM and 512 GB SSD to replace it, but I imagine I could easily get a couple more years out of the MBP as is (I got the replacement because I wanted one, not because I needed one), and even more by installing an SSD. If I'd also replace the battery (~80 % health), remove all the dust inside, and maybe switch out the fan if needed (it revs up more often now than it did before), I wouldn't be surprised if this computer could last north of a decade in total without feeling like a corpse.
Sadly though, these kind of upgrades are not possible in the same way with an iMac so I'd definitely recommend the RAM upgrade and an SSD in order to "secure" its longevity.