Android version updates for 2 years, Android/Samsung security updates for 4 years. As an Android user, I can live with that.
My S7 is on Android 8.1. I have a newer Nokia on Android 10. I don't see any meaningful differences. The Nokia has something called "Digital Wellbeing" which I don't use. Everything else, like Fingerprint unlock and stuff like that has been around a few years now.
The hardware makes most of the difference IMO. The Galaxy S7 camera handily beats the cheap lens of the Nokia.