The purpose of affirmative action is to establish fair access to employment opportunities to create a workforce that is an accurate reflection of the demographics of the qualified available workforce in the relevant job market.
The New Deal program that put young men to work was called the CCC or the Civilian Conservation Corps.
The Egyptians failed to adapt to the new changes of their world. There are multiple books on this and it is very interesting.