(CNN)Shortly after former Trump national security adviser Michael Flynn pleaded guilty Friday to lying to the FBI about conversations with Russia's ambassador, former FBI Director James Comey shared a justice-minded verse from the Bible on Twitter and Instagram.

"'But let justice roll down like waters and righteousness like an ever-flowing stream,' Amos 5:24," Comey wrote, referring to the Bible's book of Amos.

A post shared by James Comey (@a_higher_loyalty) on Dec 1, 2017 at 9:01am PST

Comey tweeted the same biblical passage in November after President Donald Trump called the former FBI director a "liar." Comey, a United Methodist and one-time Sunday school teacher, said it's his "favorite scripture verse."

I️ included the picture of the Great Falls of the Potomac because I️ like it and because it reminds me of my favorite scripture verse, from Amos: "But let justice roll down like waters and righteousness like an ever-flowing stream."

In a statement Friday, Flynn also referenced religion, saying he acknowledged that his actions "were wrong, and, through my faith in God, I am working to set things right.

"My guilty plea and agreement to cooperate with the Special Counsel's Office reflect a decision I made in the best interests of my family and of our country. I accept full responsibility for my actions," he said.

Read More

In court on Friday, prosecutors detailed calls Flynn made in late December 2016 to the senior Trump transition team at Mar-a-Lago to discuss conversations with Russian Ambassador Sergey Kislyak. There were multiple conversations with the transition while he was having conversations with Kislyak about Russia sanctions and the Russian response. Flynn lied to investigators about these calls with the ambassador, according to his guilty plea and the criminal statement of offense.

Comey had been leading the investigation into whether Trump campaign members colluded with Russians who hacked the 2016 election when the Trump administration fired him in May -- a move that sent shockwaves through Washington. The administration said it was getting rid of Comey because of the way he handled the Hillary Clinton email probe -- an assertion met with ridicule among Democrats, who attributed the firing to the Russia investigation.

Comey later testified to Congress that Trump had pressed him to drop the probe into Flynn centering on his calls with Kislyak and repeatedly pressured him to publicly declare that Trump was not under investigation.

Flynn was dismissed as Trump's national security adviser in February after it emerged that he had lied about the conversations with the Russian ambassador to Vice President Mike Pence.