The Constitution was written by rich people like landowners, merchants, and bankers. They were from the upper class and wanted to protect their money and power. The people who were not allowed to join were the poor, workers, women, Native Americans, and enslaved people. These groups didn’t own land and couldn’t vote.
The class system back then is a little like today. Rich people still have more power, but now more people can vote. Still, money controls many things in politics.
The people who wrote the Constitution were afraid of democracy because they didn’t want poor people to make big changes. They thought the poor might vote for new laws that would hurt the rich. So, they made a system that kept power with the rich.