Parton did a lot of very nice things and was a great contributor to society in good and decent ways that many of her wealth peers totally fail.
But there has since her passing been an element of myth and folklore that has elevated those accomplishments beyond reality.
Her library is a great idea and her support was notable, but the funding in large part comes from government grants and other donors.
To a large degree, the library program is also your tax dollars at work.
I can also walk into the library and there will be a shelf of free childrens books. Not used, brand new. Stacks of them to take home and keep.
The engine already existed, our public library system.
How good one's library is depends on how well-off the operating local government is. The Imagination Library is more egalitarian because it's often funded at county and state-level, so kids with underfunded libraries get the same level of access as other kids from wealthier zip codes