lights flickered, pulled over car went dead, jumped car,dead,jumped, backfire on 2006 Acura MDX

first thing this morning went out to car had to jump it ..drove all day no problems.on the way to pick up my kids tonight the lights started flashing on my dashboard parked the car.would not start back up..jumped it again ran then died on its own...let it sit..jumped again then a backfire sound was coming from the engine...left car in parking lot for triple a to tow*** note i have had this car for 6 years every year i have had to go to the dealership to get a new battery..other than that no problems

Asked by for the 2006 Acura MDX
you need an alternator which may have been the reason for your battery failures due to overcharging. have it checked to verify.