I pretend (hope) to keep this phone for that long. It's been a big purchase (more than 1.000€), so can't see myself changing any time soon.I barely have a phone 7 months nevermind 7 years!
What more upgrades could I need? My S24+ has 12GB RAM, 512GB storage, excellent big screen with 120Hz and extremely bright outdoors, three cameras (I don't really need the best, I'm satisfied with them), AI features (hope they remain free), OneUI has many useful day to day features and customizations, premium design and build quality, very light for its size...
If I'm getting 7 years of updates I don't see much reason to change any time soon. Future upgrades won't make such a big impact in day to day use anymore.