Each time you perform a major update to iOS on your iPhone, such as iOS 14 to iOS 15, you get a more powerful operating system. Unfortunatly, the new operating system will need more power and your battery's peak operating performance has been declining since you bought it. At some point you will want a new battery perhaps in the form of a new model iPhone.