Not a chance. I always hired the best possible person for each position. About a third of them were women, and I would never pass up someone who would boost my profits simply because she was female. However, evaluating temperament was a top priority during interviews, and I rejected multiple women (and men) because they struck me as jerks or as likely lawsuits. And people with diversity courses on their transcript? I never even considered hiring one of them.
I learned very early on in my career by watching others, to never be alone with a woman in the workplace. Period. I saw careers get ruined by stupid choices fellow co-workers made when dealing with their female counterparts.
I certainly didn't know it at the time since it was the late 80's through the late 90's however the "Mike Pence rule" is exactly correct and how one protects themselves and the females they work with in the workplace.
The last part of the above sentence is often overlooked by many: and the females they work with in the workplace.
When I was a hiring manager, I did the same thing as you: I hired the most qualified person for the job independent of any "diversity" factors. The result was I had a very good mix of people who were very talented and who worked extremely well together. That's how it's supposed to be and even with all that, I knew the rules were different when dealing with a female direct report than with a male.
That's just how it was, is, and always will be.
Diversity courses are requirements for any degree in most Universities, now. They’re on transcripts because students had no choice but to take them.