Miley Cyrus used to think she needed a partner to survive.

The Midnight Sky hitmaker – who split from ex-husband Liam Hemsworth in August 2019, after just eight months of marriage, before briefly dating Kaitlyn Carter and Cody Simpson – emotionally opened up to fans before performing her cover of Janis Joplin’s Maybe at BottleRock Festival in Napa, California at the weekend.

She is OK alone: Miley Cyrus used to think she needed a partner to survive. The Midnight Sky hitmaker -emotionally opened up to fans before performing her cover of Janis Joplin's Maybe at BottleRock Festival in Napa, California at the weekend

The 28-year-old singer had to completely ‘rebuild’ her life after the Malibu home she shared with Liam, 31, was destroyed in the California wildfires in December 2018, and she admitted she’s finally ‘starting to find’ her ‘stability now.’

Her ex-husband: The siren and Liam Hemsworth in 2012; they split in August 2019

According to The San Francisco Chronicle she said: ‘This song, to me, relates to the changes that I’ve been experiencing in my life, and the things that I’ve lost have come back in what I never knew I wanted or needed to gain.

‘Even though sometimes it feels like we have to start from nothing, like with the house fire, and completely rebuild… That fire was almost three years ago and I’m just feeling like I’m starting to find my stability now. And so I want everyone to be patient – nothing worth anything happens overnight, it takes a lot of f****** effort and resilience.’

The ‘Prisoner’ hitmaker then opened up about her love life and how music became her ‘glue’ since the COVID-19 pandemic.

Hard times: The 28-year-old singer had to completely 'rebuild' her life after the Malibu home she shared with Liam, 31, was destroyed in the California wildfires in December 2018, and she admitted she's finally 'starting to find' her 'stability now'

She added: ‘I had a theory I would die if I didn’t have a partner. ‘If I didn’t have someone to kiss me every single night. But then this was my purpose, but this was taken from me during COVID, so then I found a new purpose and that’s music is the glue over the last two years and it was what was keeping us strong at the time.

‘I’m just so fortunate to be a musician.’

Miley is known to open up to fans during her performances, and earlier this year, she broke down in tears during her performance of ‘Wrecking Ball’ at the Super Bowl LV TikTok Tailgate concert.

The pop megastar had to pause before continuing the 2013 hit during the gig.

New attitude now:  'I had a theory I would die if I didn't have a partner,' she said. 'If I didn't have someone to kiss me every single night. But then this was my purpose, but this was taken from me during COVID, so then I found a new purpose and that's music is the glue over the last two years and it was what was keeping us strong at the time'

Miley’s voice cracked as she sang the line: ‘Don’t you ever think, I just walked away, I will always want you.’

She attempted to pick up the chorus with, ‘I came in…’, before telling the audience why she was struggling to perform the track.

The song was penned about the end of a relationship and Miley admitted to the crowd that she wears her ‘heart on [her] sleeve’ and it ‘gets broken a lot’.

Wiping away her tears, she said: ‘Singing that song, ‘Wrecking Ball’, about feeling completely broken and shattered … everyone’s suffering is different, even everyone’s threshold of pain.

Racy twosome: And then had a relationship with her longtime friend Cody Simpson, right

‘I wear a lot of glitter and I wear a lot of armour, and I also wear my heart on my sleeve, and it gets broken a lot.’

Cyrus opened her act with We Can’t Stop while the audience cheered and sang along. She then launched into a set that featured some of her biggest hits including Plastic Hearts, SMS (Bangerz), The Climb and Malibu.

The audience rapped along with the songstress during a pyrotechnics-filled performance of 23. She also performed covers of Blondie’s Heart of Glass, Janis Joplin’s Maybe and Mark Ronson’s Nothing Breaks Like A Heart.