Kim Kardashian had nothing but kind words for ex Kanye West when sharing how he helped her gain more self-confidence during their nearly 10-year relationship.

Appearing on the "We are supported by ..." podcast, the 40-year-old reality star revealed how West taught her the value of standing up for herself.

"Being in a relationship with Kanye for a decade, someone that absolutely didn't care about likeability factor or what any of perception of him was as long as he was true to himself ... that taught me so much in the best way of just being me and living in the moment," she said.

Kardashian admitted that, prior to dating the "Stronger" rapper, she "used to be such a people pleaser." Now, she understands the value of "just being myself first" and putting herself first because "you don't have to please everyone."

"You have one life and you're living it for you," she continued. "That taught me to just be more confident in myself and truly not care as much of what other people thought."

Kardashian and West married in 2014 and share four children together: 8-year-old North, 5-year-old Saint, 3-year-old Chicago and 2-year-old Psalm.

The couple went their separate ways earlier this year, with Kardashian filing for divorce in February. The two remained amicable, with the "Keeping up with the Kardashians" alum most recently supporting West ex in Atlanta, where the rapper is living while finishing his 10th studio album, " Donda."