Carol King wrote that song with Gerry. It depends on how you look at it. To me it was just one of the unreal amount of songs that people like Carol and Gerry were turning out to the people who were just singing the songs.
And don't get me wrong. I'm not nuking the likes of the Bobby V's that was the life then. But you had the Carol Kings with all her talents hidden away and all her songs and others basically signed away to head honchos who would assign the songs to who they thought could be stars.
eta: some do her name carole I spell it both ways sue me