Does battery affect how engine runs

I have seen a bad battery affect how a car runs, especially on smaller cars.

With my old Civic, I had a battery die. I tried jump starting the car, but as soon as I took the jumper cables off, it died. I did it again and gave it some time to charge before I unhooked the jumper cables. This time it ran but it didn’t run very well. After I installed the battery, it ran fine.

If your original battery lasted nine years, I would stick with the same brand.