This is a more or less well known song, with famous versions, e.g. by Dolly Parton et al.: https://www.youtube.com/watch?v=JnhNhDwlLyQ
I have seen it credited to Mavis Staples, but I guess there is a previous version.
Oddly enough it does not have a Wikipedia page :O
Thank you!