Jim Bob Duggar scolded his son Joseph Duggar — but offered the promise of religious salvation — in a jailhouse letter obtained by People.

Joseph Duggar, 31, was arrested last month on charges of molesting a 9-year-old girl in 2020 while vacationing in Panama Beach, Florida, with the child’s parents. He has pleaded not guilty.

“You have made some terrible decisions, but God has already forgiven you if you have asked him,” his father wrote in the letter, which the younger Duggar received in an Arkansas detention facility while awaiting extradition to Florida.

“You are just going to have to accept the situation at this point and it’s also fine to pray that God would have mercy on you, but you’re probably gonna face a major consequences [sic] for several years to come,” Jim Bob Duggar wrote.

The Duggar patriarch traveled to Florida earlier this week to attend his son’s first court appearance on the charges.