Updated

Get all the latest news on coronavirus and more delivered daily to your inbox.  Sign up here.

She may be stuck at home, but Dolly Parton is still making music.

The country icon has churned out a new song, "When Life is Good Again," inspired by the lessons learned during the coronavirus quarantine.

The song, released exclusively on Entertainment Weekly on Wednesday, touches on themes of compassion, thoughtfulness and living in the moment -- all habits Parton, 74, pledges to hold up after the pandemic ends.

DOLLY PARTON SECRETLY PRODUCED 'BUFFY THE VAMPIRE SLAYER' AND FANS ARE STUNNED: 'WE DO NOT DESERVE HER'

"When life is good again / I'll be a better friend / A bigger person when / Life is good again / More thoughtful than I've been / I'll be so different then / More in the moment when / Life is good again," Parton sings.

She continues: "I'll open up my heart / And let the whole world in / I'll try to make amends / When life is good again."

The anthem also mentions Parton's strong faith, praising God, and promising to pray and "repent for" her sins.

DOLLY PARTON THANKS TENNESSEE NATIONAL GUARD FOR RELIEF AID: 'I APPRECIATE ALL OF YOU'

The song ends with a promise from the artist that "it's gonna be good again" before she sings about all the things she plans to do, which includes walking in the park, drinking with old friends, flying a kite and more.

"God's the reason for all things / You want rainbows, you get rain / We'll all be forever changed / I'll sail my boat and fly my kite / Walk in the park, go out at night / And hold my loved ones extra tight / When everything is on the mend / I'll even drink with my old friends / Sing and play my mandolin / We'll make it through this long dark night / Darkness fades when faced with light / And everything's gonna be alright / When life is good again," she concludes.

Dolly Parton arrives at the 61st annual Grammy Awards at the Staples Center on Sunday, Feb. 10, 2019, in Los Angeles.

Dolly Parton arrives at the 61st annual Grammy Awards at the Staples Center on Sunday, Feb. 10, 2019, in Los Angeles, Calif. (AP, File)

On Thursday, a music video for the song was released, featuring Parton sitting in a dark room watching home videos from a projector.

Throughout the video, essential workers such as nurses, postal employees and law enforcement officials stand in front of the projections, wearing face masks.

The video ends with the workers and many civilians stripping the masks from their faces before Parton pushes open a large double door, letting light spill in.

"Be safe, be respectful, wear your mask, lead with love," a message reads at the end of the clip.

CLICK HERE TO GET THE FOX NEWS APP

Parton has been very active during the global coronavirus crisis, having started a web series in which she reads bedtime stories to children.

In April, Parton also pledged a one-million-dollar donation to Vanderbilt University's research toward coronavirus.