Miley Cyrus thought she ''had to be gay'' because all men were ''evil''.

The 'Wrecking Ball' hitmaker has enjoyed romances with both men and women - including her estranged husband Liam Hemsworth and television personality Kaitlynn Carter - but she confessed she thought all guys were bad until she met Cody Simpson.

Speaking in an Instagram Live alongside her boyfriend Cody, she said: ''There are good people out there that just happen to have d***s. I've only ever met one, and he's on this live. There are good men out there, guys, don't give up. You don't have to be gay, there are good people with d***s out there, you've just got to find them. You've got to find a d**k that's not a d**k, you know. I always thought I had to be gay, because I thought all guys were evil, but it's not true. There are good people out there that just happen to have d***s. I've only ever met one, and he's on this live.''

Meanwhile, Miley previously slammed those who have criticised her for moving on from Liam as she insists she has ''grown'' now and wants to move on.

She wrote on Twitter: ''I know the public feels invested in my past relationship because they felt like they saw it thru from the beginning. I think that's why people have always felt so entitled over my life and how I live it because they've watched me grow up.

''I am grown now and make choices as an adult knowing the truth/details/reality. People only 'know' what they see on the internet. [Men], they move on from one beautiful young woman to the next MOST times without consequence ... I am trying to just THRIVE/survive in a 'mans' world. If we can't beat em, join em! (sic)''