A MacBook Pro 10,2 cannot be upgraded beyond macOS 10.15.7.
See the following from Identify your MacBook Pro model - Apple Support
MacBook Pro (Retina, 13-inch, Early 2013)
Model Identifier: MacBookPro10,2
Part Numbers: MD212xx/A, ME662xx/A
Newest compatible operating system: macOS Catalina
To upgrade Safari from Safari 15.6.1 to a later version you would need to upgrade your Mac from macOS 10.15.7 to a later version and that isn't possible with that MacBook Pro
Since you cannot upgrade it to install Safari 16 or later, you may want to use a 3rd party internet browser that supports running their current version on your Mac. One option is Chrome: https://www.google.com/chrome/