Ancient Egyptians didn’t have capitalism. At least in the dynasty where a lot of writing is from like this one scroll that was used to teach scribes writing so there is a fuckload of copies of it, they had a theocratic class system where social roles were pretty rigid. It was highly discouraged to not love your place in life. Like that writing exercise that archaeologists found is like basically copypasta about how cool it is to be a scribe, how you get to sit in the shade and not destroy your body to earn a living like the laborers must do. The cultures extant in ancient Egypt’s like 3000 years of history have been studied pretty extensively and pretty much every conclusion leads to the idea that social mobility through hard work or whatever of the kind promised by the capitalist Horatio Alger story was definitely not a cultural value in ancient Egypt, at least not a cultural value held by the people with the power to decide what got written down for posterity.
There was forced labor in Egypt but it was mostly agricultural. It was like corvee labor to build irrigation canals and dams and stuff, and it was how people paid their taxes basically
Edit: and just like in places with forced corvee labor today like Uzbekistan, you could pay your way out of it if you were wealthy enough https://www.smithsonianmag.com/smart-news/in-ancient-egypt-people-paid-to-become-temple-servants-674595/
Edit 2: Supposedly the state corvee in Uzbekistan ended March 2022 but I feel like people probably are still picking cotton a lot, they’re probably just getting paid now.