sigh - this question comes up so often.
No.
1. Candidates are not stupid neither are companies - trying to fill "quotas" is both wasteful and does not have a good ROI.
2. The assumption that the reason companies are not diverse is because one group of individuals is more skilled is wrong.
Diversity is not about hiring one group over another. It is about limiting and highlighting the explicit and implicit biases that exist in every organization and working to resolve them.
This can be done, for example, by making sure job ads have gender neutral language - so many do not, which turns off female candidates - which is why they are not very diverse.