What do you mean by “all men”

The Declaration of independence asserts people’s rights to choose their own government. Under the unfair treatment from the government of Great Britain, the colonies are unified and become independent from Great Britain. People clearly noticed a problem of equality and made this decision of asserting independence. In the Declaration, it says that “We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.” When I first learned about it, I was taught that it simply translates to “people are born equal”. One day, I saw this picture in one of my cogs classes where the professor used a picture of Abraham Lincoln as a demo. It reminded me of the civil war which happened after the publish of the declaration of independence. Clearly “all men” in the declaration of independence doesn’t include those who worked as slaves. It then also made me think that what about women, and learning about the rights of women during that time also refreshes the definition of “all men” for me. Furthermore, Thomas Jefferson actually drafted the declaration with the issue of slavery but it was removed later. Is it maybe that the people wrote Declaration of independence never take in consideration of people from other races? If it is the case, why were women excluded as well?  

picture i found in one of my cogs classes, please ignore the irrelevant information