Gospel music began to take shape as a distinct genre in the 1920s, with artists like Thomas A. Dorsey pioneering its style. Songs like "We Shall Overcome" and artists like Mahalia Jackson became anthems and voices of the movement, providing hope, inspiration, and strength.