Joey Feek was able to enjoy a personal and inspiring video message from her favorite country music legend Dolly Parton before Feek lost her battle with cancer.

Feek's heartbroken husband Rory recalled Parton's kind gesture in a blog post Friday as he announced his wife had died at the age of 40.

"As I held her hand and kissed her goodbye one last time... I was reminded of another dream of hers that came true. A few months ago through gracious help of Kathy Olen, a friend of ours in Nashville, and many others... I had been sent a short video that Dolly Parton had made for Joey," Rory Feek wrote.

"From the time she was four years old, Joey had been singing Dolly's songs and dreamed of one day meeting her. 'Coat of Many Colors' was a regular part of our show and at home she loved to put on Dolly and listen to 'Hello God,' 'When I Sing For Him,' 'Me and Little Andy' and many others. She never got the chance to meet her in person and had no idea that Dolly even knew who she was. But that changed one Friday evening this past November," he said. "Joey's family, Russdriver and I gathered around Joey's bedside to watch the movie Hope Floats (one of the few movies Joey knew and loved) with her. But instead of pushing play on the DVD, I pushed play on the video I had received... and we all watched Joey watch. It was the most beautiful moment I have ever been part of."

Rory shared a video clip of his wife looking stunned, then happy as she watched Parton tell her: "Joey and Rory, I've loved you for years and I have all of your records.

"Joey, I just wanted you to know that I really appreciate the fact that you've done my songs and talked about me at different times and I've heard that you're a big fan," Parton said. "I want you to know that I appreciate that and I want you to know that I'm sorry you're not feeling good, but I know that we have something in common. We both believe in a higher power. We both believe that, through God, all things are possible. So, you keep praying and I'll keep praying for you and I just think you're wonderful and I know that God's proud of you. So, I just wanted to take a chance to say thank you for loving me and I'll be loving you."

"That was better than meeting her," Joey said weakly, through tears. "So amazing. ... If I die tomorrow, I would be so complete."