I am going to still be running my 2009 and 2010 iMac models until they actually die.
I do not really care if it cannot run Mojave or any future versions of macOS, at this timeframe.
If a user is not concerned with running the latest OS and the iMac is still working, why not continue using it!
Still plenty of older Mac users, like me, still running older versions of the Mac OS.
High Sierra is as far as all of my iMacs can go, but I am not even running any of thr more current Mac OSes on these iMac, anyways.
My 2009 iMac is running OS X 10.9.5 Mavericks most of the time off of an O W C FireWire 800 connected external SSD.
I have Mac OS X El Capitán installed on two other external hard drives and only use occassinally when needed.
My wife's 2010 iMac is runnung OS X 10.10.5 Yosemite, soon to be installing and running OS X 10.11.6 very soon!
Mac Mail still works for all of our email services. Firefox is still issuing updates that still are, currently, working on 5-6 year old Mac OSes.
Really no harm in running an older iMac as long as the ports, power supply or logic board do not fail, can continue to use these older Macs for as long as they can go!
I do everything I can to keep these older iMacs unning as cool as possible, too!
A cooler running Mac is a happy Mac.
Adding RAM, or new hard drive/SSD to an older Mac is still much cheaper to do than purchasing a new Mac or even somewhat older, used or refurbished Mac.
My wife and I are still getting by on these 9 and 10 year old iMacs and while I am using a nearly 4 year old iPad Pro, my wife and i still use 7 and 8 year old iPads and over 3 year old iPhone SE models.
And this whole iTunes ending thing really doesn't affect anyone using older operating systems on their Macs, either.
Existing versions of iTunes will still do what they always did.