Then again, to Lee, the X-Men were a metaphor for the Civil Rights Movement, which was not necessarily popular nor unanimously accepted or supported at the time. It is not beyond the realm of possibility that he was also covertly championing other minorities and groups. Food for thought.
https://www.history.com/news/stan-le...ts-inspiration
https://www.cinemablend.com/news/256...e-x-men-comics