2007 Honda Accord euro

My Honda accord 2007 whilst driving felt like it was going to stall, as I kept driving all the dash warning lights started to flicker and eventually the car totally died without being able to restart. Is this a battery problem or something else?