What better way to get over an ex than writing a song about it!

Justin Bieber opened up to Billboard about his failed romance with Selena Gomez and told the magazine that he's been leaning on friends and channeling his emotions into his music.

"I'm not in the happiest place that I've ever been," he tells Billboard. "I'm trying to get through what I'm going through ... I have my really close friends to cheer me up and keep me going."

As for pesky rumors, Bieber says "People say I call Selena every day and she won't pick up the phone or I'm chasing her down, and these are all fake stories. I don't go on blogs or anything like that. I hear things. People tell me if something happens on the Internet. It gets back to me, definitely."

He later told the magazine that he's written a ballad entitled "Nothing Like Us," which contains the lyrics, "Nothing can ever, ever replace you/Nothing can make me feel like you do" and "Gave you everything/Everything I had to give/Girl, why would you push me away?"

Bieber then went on to say,  "At the end of the day, there's nothing like us, you know? That's just it. It is what it is. People are going to relate to that."

Here's audio of the song, which will appear on his forthcoming "Believe Acoustic" album.