Madonna was not part of the "We Are the World" recording because she was not invited to participate.
The song was a massive collaboration of some of the biggest names in music at the time, with the goal of raising funds for famine relief in Ethiopia. The organizers, Michael Jackson and Lionel Richie, selected artists based on their popularity and their ability to contribute to the song's message of hope and unity.
While Madonna was a rising star in the early 1980s, she had not yet achieved the level of global recognition that many of the other artists on the song had. She was also known for her controversial and sometimes provocative image, which may have made her a less desirable choice for a song intended to appeal to a broad audience.
It's important to note that Madonna's absence from "We Are the World" does not diminish her status as a musical icon. She has continued to produce groundbreaking music and has used her platform to advocate for various causes throughout her career.