A forthcoming book on the Republican Party reportedly quotes House Speaker Paul Ryan as saying he frequently had the urge to "scold" President Donald Trump because "he didn't know anything about government."

Ryan, who experienced a meteoric rise through the ranks of the House by forging a reputation as a savvy and knowledgeable policy wonk, was in for a rude awakening when Trump took office, according to a Washington Post report on the book.

"I told myself I gotta have a relationship with this guy to help him get his mind right," Ryan told the "American Carnage" author Tim Alberta, according to The Post. "Because, I'm telling you, he didn't know anything about government ... I wanted to scold him all the time."

Trump apparently didn't harbor warm feelings toward Ryan, with The Post citing Alberta as saying Trump would refer to Ryan as a "f---ing Boy Scout" over the squeaky-clean image Ryan cultivated.

Ryan reportedly said he and other officials "really helped to stop him from making bad decisions," adding, "we helped him make much better decisions, which were contrary to kind of what his knee-jerk reaction was."

Visit Business Insider's homepage for more stories.

A coming book reportedly quotes former House Speaker Paul Ryan as saying that he frequently had the urge to "scold" President Donald Trump because "he didn't know anything about government."

Ryan, who experienced a meteoric rise through the ranks of the House by forging a reputation as a savvy and knowledgeable policy wonk, was in for a rude awakening when Trump took office, according to a Washington Post report on the Politico correspondent Tim Alberta's forthcoming book, "American Carnage," which The Post says prominently features several quotes from Ryan.

"I told myself I gotta have a relationship with this guy to help him get his mind right," Ryan told Alberta, according to The Post. "Because, I'm telling you, he didn't know anything about government ... I wanted to scold him all the time."

According to a separate excerpt of Alberta's book previously published in Politico Magazine, Ryan was so horrified by the October 2016 release of a 2005 "Access Hollywood" tape in which Trump bragged about sexually assaulting women that he canceled a planned campaign event with Trump in Wisconsin and begged the Republican National Committee chair at the time, Reince Priebus, to find a way to replace Trump as the Republican presidential nominee and "excommunicate him" from the party.

Ryan, who retired from the House in 2018 and is now a private citizen, apparently didn't hold back on his opinions on Trump in several on-the-record quotes for the story.

Read more: Paul Ryan said Alexandria Ocasio-Cortez ignored his advice to 'just take it easy' as a new member of Congress

Once Trump was elected, Ryan tried his best to accommodate Trump's bombastic, off-the-cuff style of governing. In one instance reported by Alberta, Trump was displeased that a 2018 spending package didn't include funding for his desired border wall, and he signed it only on the condition that Ryan allow him some time to generate suspense for the bill on Twitter.

Ryan told Alberta he and other officials "really helped to stop him from making bad decisions," according to The Post, adding: "We helped him make much better decisions, which were contrary to kind of what his knee-jerk reaction was. Now I think he's making some of these knee-jerk reactions."

Alberta said Trump didn't harbor warm feelings toward Ryan either, referring to him as a "f---ing Boy Scout" over the squeaky-clean image Ryan cultivated.

"We've gotten so numbed by it all," Ryan reportedly mused about Trump's behavior. "Not in government, but where we live our lives, we have a responsibility to try and rebuild. Don't call a woman a 'horse face.' Don't cheat on your wife. Don't cheat on anything. Be a good person. Set a good example."

"American Carnage: On the Front Lines of the Republican Civil War and the Rise of President Trump" is set to be released by the publisher Harper next Tuesday.