My biggest mentor, Jerry Ragovoy wrote it, along with a bucket load of other classics. https://en.wikipedia.org/wiki/Jerry_Ragovoy#Notable_compositions Janis Joplin was shocked on meeting him in person to discover he was a white Jewish guy.