Exactly I believe google got them to change that regarding drivers getting updatedThat's fair point, but you also have to realise that it's the device manufacturer that is responsible, not necessarily Google, or even component suppliers (short update cycle was down to QUALCOMM stopping driver updates after a year or 2).
Having said all of that, I have a pixel 9 pro, so I am set update wise as I doubt this phone will last 7 years (I've never had a phone longer than 2 years tbf).
If you have a current pixel or Samsung device like s24 ultra then these will handles software updates fairly easily over the next 3 to 4 years as I’ve have people who keep them that long before they upgrade & they never have problems