It’s thought that his presidential run caused tensions in their marriage, with Kim filing for divorce earlier this year.
Kanye began his prayer by saying he’s thankful for family and fans.
The 44-year-old added: ‘All I think about every day is how I get my family back together and how I heal the pain that I’ve caused. I take accountability for my actions.’
Kanye went on to say his drinking affected his health and the health of those around him, before speaking about a manic episode he had in 2016.
Kanye wore a Make America Great Again cap before running for president (Picture: Getty Images)
He added that, after going on and off of heavy medication, he went through manic episodes that Kim and his fans had to endure.
The rapper went on to speak about politics, saying: ‘Good lord, my wife did not like me wearing the red hat.
‘Being a good wife, she just wanted to protect me and our family. I made me and our family a target by not aligning with Hollywood’s political stance and that was hard for our marriage.
Kim and Kanye split in January this year (Picture: Getty Images for The Met Museum/Vogue)
‘Then I ran for president without proper preparation and no allies on either side. I embarrassed my wife in the way that I presented information about our family during the one and thank god only press conference.’
Kanye ended the prayer by saying: ‘This Thanksgiving, I am grateful for the family that my wife has given me. I’m thankful for the life that God has given me, and I’m thankful for your time, attention, and patience.’
Kim and Kanye share four children – North, eight; Saint, five; Chicago, three; and Psalm, two.
After the pair split in January this year, the rapper has made it clear that he’s determined to reunite with his ex-wife.
More: US Showbiz news
However, Kim is reportedly loved up with comedian Pete Davidson after the pair hosted Saturday Night Live Together.
They’ve been spotted going on dates and holding hands, with sources saying the couple are ‘smitten’.
Metro.co.uk has contacted reps for Kim Kardashian for comment.
Got a story?
If you’ve got a celebrity story, video or pictures get in touch with the Metro.co.uk entertainment team by emailing us email@example.com, calling 020 3615 2145 or by visiting our Submit Stuff page – we’d love to hear from you.