"I am a kind-hearted person who loves people, and through it all I lost some of my best qualities," he said

Credit: Chris Pizzello/Invision/AP

Justin Bieber endured endless jabs at his expense during his Comedy Central roast that aired Monday – and the pop star hinted that he deserved them all.

As the jokes wound down, Bieber stood up onstage and issued what appeared to be a heartfelt apology for his past behavior.

“There was really no preparing me for this life,” he said. “I was thrown into this at 12 years old and didn’t really know what I was getting into. There’s been moments I’m really proud of, and moments I’m pretty disappointed in myself for.”

The “Boyfriend” singer, 21, raised eyebrows in recent years for questionable behavior that included a DUI arrest and a police investigation into accusations that he threw eggs at a neighbor’s home and caused damage.

Bieber’s latest speech stated plainly that he’s ready to man up.

“The things that I’ve done really don’t really define who I am,” he said. “I am a kind-hearted person who loves people, and through it all I lost some of my best qualities. For that, I’m sorry.”

This isn’t the first time Bieber has acknowledged some of his past mistakes – and apologized for them.

He sat down with Ellen DeGeneres just after taping the roast on March 15 – and shortly after roast emcee Kevin Hart previewed Bieber’s speech on Jimmy Kimmel Live!

“I was just talking about it being a new chapter for me and basically saying I’m sorry for the stuff I’ve done,” Bieber said on The Ellen DeGeneres Show.

“A lot of times we pretend so that we can fit in, and a lot of times we end looking like a d—–bag,” he added. “And that was kind of me.”

Justin Bieber Roast: Best Moments