Having the latest iOS is not the same as having the latest iOS on the latest hardware. As years go by, you get less features or less snappier experience.
When my iPhone 6s received iOS 15, it didn't get the coolest stuff and the device performance was already less than decent. Even if the iOS itself wasn't slowing it down, the apps for iOS were made with expectation of higher performance.