Miley Cyrus appeared on The Tonight Show with Jay Leno and gave her two cents about Justin Bieber’s legal troubles. The star was arrested twice in less than one week, and the “We Can’t Stop” singer doesn’t understand why.

Speaking on Bieber’s DUI arrest, as well as his recent arrest in Canada for alleged assault, Cyrus told Leno that Bieber, 19, has enough money to avoid these situations.

"You've got a lot of money. Pay people to make sure you don't get in trouble, and party at your house," she said, MTV News reports.

She added if he really wants to party, "Buy a house, and add a club to it."

Cyrus made a point to mention that although she gets the “most flack out of anybody” in the music industry right now, she has yet to be arrested or get in trouble with the law.

I'm not doing anything illegal! I'm doing a lot of s---, but I'm not doing anything illegal. So that's alright,” she said.

“Well, actually, everything I do is legal in California,” she added, likely referring to marijuana.

Cyrus recently made headlines for her MTV: Unplugged special, where she performed in a country-themed set with Madonna.

image: NBC