Jennifer Garner says her first marriage ''didn't have a shot'' at succeeding.

The 41-year-old actress has been happily married to Oscar-winning actor-and-director Ben Affleck for the last seven years, however, she admits she rushed into her previous marriage to 'Scandal' actor Scott Foley and in hindsight realises it wasn't meant to last.

She lamented to the September issue of Allure magazine: ''Oh, he's a great guy. We were full-on grown-ups, but looking back I'm aware we did not know what hit us. We didn't have a shot. He's a really good guy, and we just imploded.''

The brunette beauty met Scott, 41, on the set of TV show 'Felicity' in 1998 and tied the knot to him in 2000. But the couple called off their relationship just three years later in 2003 and finalised their divorce in 2004 - just months before Jennifer started dating 'Daredevil' co-star, Ben, 41.

The A-list couple have three children together - Violet, seven, Seraphina, four, and 18-month-old Samuel - while Scott has also moved on, marrying actress Marika Domińczyk, with whom he has a three-year-old daughter named Marley.

Jennifer has opened up about her failed marriage in the past, revealing that she wished she had waited until she was 30 to marry.

She previously said: ''Everyone reaches maturity at different times. I wish I'd known to wait for marriage until I was 30 or over. I did marry in my twenties and I found divorce a crushing experience. I thought the divorce statistics would never apply to me. I was beyond heartbroken when they did. But I got up and got on with it. I also kept my belief in marriage. I did not have a fairytale vision of the future of the future but I still believed I would find someone to commit to and raise kids with.''