Anna Duggar praying to 'restore' marriage after Josh's infidelity scandal

Before you go, we thought you'd like these...
Anna Duggar Reveals Plans to Stay With Husband Josh

Anna Duggar isn't giving up on her marriage just yet.

The mother-of-four's husband, Josh Duggar, made headlines this year for first admitting that he molested underage girls, including sisters Jill and Jessa Duggar, when he was a teenager, and later copping to using the dating site, Ashley Madison. After his infidelity confession, Josh checked himself into a treatment facility.

SEE MORE: Anna Duggar Tearfully Addresses Josh's 'Betrayal' -- 'My Only Hope Was to Cling to My Faith'

During the second episode of TLC's "Jill and Jessa: Counting On," Anna tearfully admitted that she knew "long before it hit the press" that her husband had been inappropriate with five underage girls. She recalled that Josh was "very detailed and very honest" about the incident when he first met her parents in Arkansas, but once the media got hold of the story, it "was like ripping open an old wound."

However, learning of Josh's cheating came as a total shock. "It felt like a bad dream," the 27-year-old said to camera. "I think it is such a betrayal for a spouse to go through what we're walking through. It was hard. It was hard to realize it was such a public thing."

SEE MORE: Anna Duggar Speaks Out About Josh Duggar Cheating Scandal for the First Time -- It Was 'Heartbreaking'

See more about the Duggar family:

39 PHOTOS
Duggar family
See Gallery
Anna Duggar praying to 'restore' marriage after Josh's infidelity scandal
TODAY -- Pictured: (l-r) Michelle Duggar and Jim Bob Duggar appear on NBC News' 'Today' show (Photo by Peter Kramer/NBC/NBCU Photo Bank via Getty Images)
NEW YORK, NY - MARCH 11: AJ Calloway (C) poses with (L-R) Jessa Duggar, Jinger Duggar, Jill Duggar, and Jana Duggar during their visit to 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
TODAY -- Pictured: (l-r) Michelle Duggar, Jim Bob Duggar and Kate Upton appear on NBC News' 'Today' show (Photo by Peter Kramer/NBC/NBCU Photo Bank via Getty Images)
TODAY -- Pictured: (l-r) James Duggar, Michelle Duggar and Matt Lauer appear on NBC News' 'Today' show (Photo by Peter Kramer/NBC/NBCU Photo Bank via Getty Images)
NEW YORK, NY - MARCH 11: Josh Duggar visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: (R-L) AJ Calloway and Hilaria Baldwin interview Josh Duggar and his daughter during their visit with 'Extra' in Times Square on March 11, 2013 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: Hilaria Baldwin (R) interviews Josh Duggar and his daughter during their visit with 'Extra' in Times Square on March 11, 2013 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
Two weeks ago I married my best friend! 😘 I love you, Darling! @ben_seewald
It's great living life with your best friend! @ben_seewald
We're expecting!!! So grateful to God for this new little blessing!!! #babydilly #firsttimeparents #sogratefultoGod #derickdillard #jillmdillard
We enjoyed a wonderful family dinner at the Bradford Inn! #familyvacation2014 #19kids #branson
Met Duck Dynasty's Allen & Lisa Robertson tonight!
WASHINGTON, DC - FEBRUARY 10: A view of the book 'A Love That Multiplies' during the Conservative Political Action Conference (CPAC) at the Marriott Wardman Park on February 10, 2012 in Washington, DC. (Photo by Kris Connor/Getty Images)
NEW YORK, NY - OCTOBER 23: Jill Duggar Dillard (L) and husband Derick Dillard visit 'Extra' at their New York studios at H&M in Times Square on October 23, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - OCTOBER 23: (L-R) AJ Calloway interviews Jill Duggar Dillard and husband Derick Dillard during their visit to 'Extra' at their New York studios at H&M in Times Square on October 23, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
FILE - In this March 14, 2014 file photo, Rev. Mark Harris, right, who is seeking a Republican U.S. Senate nomination in the upcoming North Carolina primary, is supported during a campaign event by Jim Bob Duggar, left, and his wife, Michelle Duggar, center, in Raleigh, N.C. The Duggars have 19 children and star in a reality TV show. (AP Photo/Ted Richardson)
FILE - In this March 14, 2014 file photo, Rev. Mark Harris, left, who is seeking a Republican U.S. Senate nomination in the upcoming North Carolina primary, was supported during a campaign event by Michelle Duggar, kneeling, and Jim Bob Duggar, back right, and many of the Duggar's 19 children, in Raleigh, N.C., The Duggars star in a reality TV show. (AP Photo/Ted Richardson)
In this Aug. 2, 2007 file photo, Michelle Duggar, left, is surrounded by her children and husband Jim Bob, third from right after the birth of her 17th child in Rogers, Ark. The Duggars announced on Friday, May 9, 2008 that they are expecting their 18th child. (AP Photo/ Beth Hall, File)
In this Aug. 2, 2007 file photo, Michelle Duggar, left, is surrounded by her children and husband Jim Bob, tsecond from left, after the birth of her 17th child in Rogers, Ark. The Duggars announced on Friday, May 9, 2008 that they are expecting their 18th child. (AP Photo/ Beth Hall, File)
Jim Bob Duggar, top left, watches as his twin sons, Jedidiah and Jeremiah, both 9, Jordyn-Grace Makiya and mother, Michelle, pose for a photo taken by Josiah, right, 12, on Friday, Dec. 19, 2008, in Rogers, Ark. Jordyn-Grace Makiya is the 18th child born into the Duggar family on Dec. 18, 2008. The cable network TLC broadcasts a weekly show about the Duggars, called "Seventeen and Counting." (AP Photo/Beth Hall)
FILE - In this Dec. 19, 2008 file picture, Michelle Duggar holds her newborn daughter, Jordyn-Grace Makiya in Rogers, Ark. No. 19 caught Michelle Duggar by surprise. The 42-year-old mom of 18 noticed that she wasn't losing weight, even though she and husband Jim Bob were on Weight Watchers, and her youngest child, 8-month-old Jordyn-Grace, was fussing while nursing. In the past, she found a fussy infant meant a change in breast milk that came with pregnancy. (AP Photo/Beth Hall)
Arkansas state Rep. Jim Bob Duggar of Springdale front center, and his wife Michelle, right, lead twelve of their thirteen children to a polling place in Springdale, Ark., in this Tuesday, May 21, 2002 file photo. Duggar was running for the U.S. Senate against incumbant Tim Hutchinson in the republican primary election. Dugger's sons Jason, 2, is pictured left, followed by Josiah, 5. (AP Photo/April L. Brown)
FILE - In a Thursday, Aug. 2, 2007 file photo, Michelle Duggar, left, is surrounded by her children and husband Jim Bob, top left, while she holds her newborn daughter, and 17th child, Jennifer Danielle, in Rogers, Ark. Michelle Duggar, the 42-year-old Arkansas mom of 18 and a soon-to-be grandmother, is pregnant again, she said Tuesday, Sept. 1, 2009. (AP Photo/Beth Hall, File)
Michelle Duggar, left, is surrounded by her children and husband Jim Bob, top left, while she holds her newborn daughter, Jennifer Danielle, Thursday, Aug. 2, 2007 in Rogers, Ark. Jennifer Danielle was born at 10:01 a.m., weighed 8 lbs 8 oz, was 21 inches long, and is the 17th child born to Michelle and Jim Bob Duggar. (AP Photo/Beth Hall)
GOOD MORNING AMERICA - One of America's largest families, the Duggars, talk about their new book on GOOD MORNING AMERICA, 3/11/14, airing on the ABC Television Network. They are pictured in GMA's Social Square with Dan Harris. (Photo by Ida Mae Astute/ABC via Getty Images) DUGGAR FAMILY, DAN HARRIS
NEW YORK, NY - MARCH 11: The Duggar family visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: The Duggar family visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: AJ Calloway (L) interviews the Duggar family during their visit to 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
WOODBRIDGE, VA - OCTOBER 16: Reality telvision celebrities, Jim Bob Duggar, center, and his wife, Michelle Duggar make a stop on their 'Values Bus Tour' outside Heritage Baptist Church on Wednesday October 16, 2013 in Woodbridge, VA. (Photo by Matt McClain/ The Washington Post via Getty Images)
NEW YORK, NY - MARCH 11: The Duggar family visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: The Duggar family visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: The Duggar family visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: The Duggar family visits 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: (L-R) Jessa Duggar, Jinger Duggar, Jill Duggar, and Jana Duggar visit 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: AJ Calloway (L) poses with Jim Bob Duggar (R) and wife Michelle Duggar during their visit to 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
NEW YORK, NY - MARCH 11: Hilaria Baldwin (R) interviews Josh Duggar and his daughter during their visit with 'Extra' in Times Square on March 11, 2013 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
TODAY -- Pictured: The Duggar Family appears on NBC News' 'Today show (Photo by Peter Kramer/NBC/NBCU Photo Bank via Getty Images)
NEW YORK, NY - MARCH 11: AJ Calloway (L) interviews the Duggar family during their visit to 'Extra' at their New York studios at H&M in Times Square on March 11, 2014 in New York City. (Photo by D Dipasupil/Getty Images for Extra)
Michelle Duggar holds her newborn daughter, Jennifer Danielle, who was born at 10:01 a.m. on Thursday, Aug. 2, 2007 in Rogers, Ark. Jennifer Danielle weighed 8 lbs 8 oz, was 21 inches long, and is the 17th child born to Michelle and Jim Bob Duggar. (AP Photo/Beth Hall)
of
SEE ALL
BACK TO SLIDE
SHOW CAPTION +
HIDE CAPTION

"That loyalty was broken," she added, fighting back tears. "How could this happen in my marriage? Josh is my first love. He's my one and only."

Anna said that she didn't react on her emotions because that would have turned the situation from "a mess into a disaster."

When asked if she plans on staying with her husband, the former "19 Kids and Counting" star revealed that she's still fighting for her marriage. "In my heart, when I got married, I vowed to God first and then to Joshua, 'For better or for worse. 'Til death do we part,'" she said. "I pray that through all of this that I would be an extension of God's love to Joshua, that I would love him and forgive him and wait patiently and allow God to work through our hearts."

SEE MORE: Anna Duggar Was in Disbelief Over Husband's Infidelity Scandal -- 'This Can't Be True'

She continued, "My prayer and my heart's desire is for our marriage to be restored."

Anna and her children have moved into the Duggars' home while Josh is away, and her sister-in-laws, Jana and Joy-Anna, are thrilled to have them. "I'm really amazed by the strength that God has given Anna," Joy-Anna said. "And just how she's going through all of this and having a good attitude about it all even though it's so hard and you know it hurts really bad."

WATCH: Exclusive -- Anna Duggar Is 'Doing Well' and 'Taking Time for Herself' as Josh Remains in Rehab

Anna Duggar Breaks Silence on Josh's Sex Scandal: 'It Was Heartbreaking'

More from AOL.com:
Remember Ren Stevens from 'Even Stevens'? Check out what the Disney Channel star looks like now!
'Harry Potter and the Cursed Child': Meet the new stage versions of Harry, Ron and Hermione
Miss Colombia's response to awkward Miss Universe mistake is perfect and gracious

Read Full Story

People are Reading