Upgrade iOS to 10 from 9.3.5
how to upgrade from iOS 9.3.5
You are only allowed to update to the version that Apple is offering, if they stopped signing old versions for your particular device model, you can’t upgrade to that version.
There are very few ways around this, and most requires you to upgrade to that version when it is still being offered. If you missed that opportunity, nothing can be done.