Safari is updated when you upgrade the operating system on your MacBook Pro.
The model year of a MacBook Pro is available at Apple menu > About This Mac.
A mid 2010 through late 2011 MacBook Pro can be upgraded to High Sierra 10.13.6 but no later version. See: How to get old versions of macOS - Apple Support
A mid 2012 through early 2013 MacBook Pro can be upgraded to Catalina 10.15.7 but no later. See: How to get old versions of macOS - Apple Support
A late 2013 and mid 2014 can be upgraded to the latest version of Big Sur macOS 11 but no later. See: How to get old versions of macOS - Apple Support
An early 2015 or later can be upgraded to the current version of Monterey macOS 12. See: How to upgrade to macOS Monterey - Apple Support
If you are unable to upgrade the operating system on your Mac, you may want to consider using a 3rd party browser such as Chrome instead of Safari. The current version of Chrome can be installed on a Mac running OS X 10.11 or later. See: https://www.google.com/chrome/