First recorded by Thelma Houston (1973).
Hit version by Diana Ross (US #1/R&B #14/UK #5/CAN #4 1975).
From the wiki: “‘Do You Know Where You’re Going To’ was written by Michael Masser and Gerry Goffin (‘You Make Me Feel Like a Natural Woman‘, ‘Up on the Roof‘), and was first recorded in 1973 by Thelma Houston for a New Zealand-only single release (Tamla Motown 872). In 1975, the song was repurposed by Masser and used as the theme to the movie Mahogany. Sung in the film by Diana Ross, it became one of the most recognizable elements of the film. The song topped the US Billboard Hot 100 in 1975, and was also nominated for the 1975 Academy Award for Best Original Song.”
Diana Ross, “Theme from Mahogany (Do You Know Where You’re Going To?)” (1975):