Image copyright Getty Images Image caption Bieber has been open about his struggles with depression in the past

Justin Bieber has written an emotional essay about how he became "the most hated person in the world" thanks to a string of "bad decisions" in his 20s.

The star, who was discovered by music manager Scooter Braun when he was 13, admitted to heavy drug use and abusing his relationships.

"I became resentful, disrespectful to women and angry," he wrote.

"I became distant to everyone who loved me... I felt like I could never turn it around."

The Canadian star, who has been candid about his mental health struggles, explained how the constant praise he received in his teens had distorted his perspective on life.

"I went from a 13-year-old boy from a small town to being praised left and right by the world, with millions saying how much they loved me and how great I was," he said.

"You hear these things enough as a young boy and you actually start believing it."

"Everyone did everything for me, so I never even learned the fundamentals of responsibility," he explained on Instagram.

'Trouble after trouble'

At 18, he had "millions in the bank" and "access to whatever [I] wanted" but "no skills in the real world". By 19, Bieber says he was doing "pretty heavy drugs" and "abused" the relationships he was in.

"I made every bad decision you could have thought of and went from one of the most loved and adored people in the world to the most ridiculed, judged and hated person in the world."

Image copyright Getty Images Image caption Bieber credited his wife, Hailey Baldwin, with helping him turn his life around

Bieber was arrested several times in 2014 with offences ranging from vandalism to driving under the influence, a charge which was later reduced to of driving without due care and attention.

"It's hard to get out of bed in the morning…when it feels like there's trouble after trouble after trouble," he wrote.

"Sometimes it can even get to the point where you don't even want to live anymore. Where you feel like it's never going to change."

However, the star, who is a devout Christian, said his faith and the support of friends and family, including his wife Hailey Baldwin, had helped turn his life around.

"It's taken me years to bounce back from all of these terrible decisions, fix broken relationships, and change relationship habits," he wrote.

"Luckily, God blessed me with extraordinary people who love me for me," he added. "Now I am navigating the best season of my life 'MARRIAGE'!!"

Following the Instagram post, fans flooded Bieber's comments with messages of support and love.

"Mistakes were made but the truth is that you found your way back to a better place," wrote one. "I'm proud to be a Belieber."

"I've always loved you, Justin, through everything, and always knew there was good in you," added another.

Bieber's former bodyguard Kenny Hamilton commented: "Proud of how far you've come. We are all here to support you."

And Kyle Massey, who starred on the Disney TV show That's So Raven, also thanked Bieber for shining a light on the "ups and downs" of achieving fame at a young age.

"The point of view of a child star is one most people and media ignore," he wrote on Instagram. "My family and friends are the only reason I've been able to keep my head on straight."

Bieber took an extended break from music after cancelling the final 14 dates of his 2017 Purpose World Tour, saying: "I want my mind heart and soul to be sustainable".

However, he has recently appeared as a guest vocalist on Ed Sheeran's number one single I Don't Care, and a remix of Billie Eilish's Bad Guy - prompting speculation he might be about to return with new solo material.

Follow us on Facebook, or on Twitter @BBCNewsEnts. If you have a story suggestion email entertainment.news@bbc.co.uk.