If battery health is the ONLY problem with your phone and it is in otherwise great shape then yes it will get you another 2-3 years out of your phone and apple typically supports full OS updates for 4-5 years. Again only if you are fully happy with your phones performance etc..
I got 4+ years out of my iPhone 7