Boasting track names like "Love Yourself" and "Life is Worth Living," it's clear Justin Bieber's forthcoming Purpose album is built on optimism. But in an alternate universe, it could've been a really dark, depressing project.

In an interview with Access Hollywood, Bieber shared that the past three years have included some pronounced ups and downs, and that when he originally got to work on his fourth album, it had a noticeably different tone.

"When you're in kind of a bad headspace, you're writing about being in that bad headspace," he shared. "It just really doesn't really match up with what I'm doing now, so we scrapped a lot of songs and we've moved in a pretty different direction."

And that "bad headspace" was a condition of what Bieber said was broken trust and cunning that came from some of the industry's shadiest characters.

"I was really about myself for a while and then it just got to a point where I was, like, so unhappy, I was so lonely, I felt so alone," he said. "I was so closed off to everyone, even my friends. I was like, 'I can't trust anybody', so I started just acting out, doing whatever I wanted to do...feeling like I was invincible."

Happy to hear that Justin did away with his darker inclinations, or would you have liked to hear something moodier from him? Sound off in the comments.

Do you know Biebs best? Test your knowledge:

More From PopCrush