>"When AI wipes out programming jobs over the next few years, do you think we will see a revival in the number of young men going into monkhood?"
The church historically absorbed excess males in this way and gave them a dignified purpose in life, it's not a crazy thought at all.
Concretely it absorbed an excess of male heirs so they could live a comfy life and would not try an hostile takeover over their elder brothers' state.