Most of the people in the class were men
LOL! I made the same experience a couple of months ago.
Not that I was looking for a women, but I was convinced:
"cooking class - I'll be the only rooster beyond all hens."
WRONG! Total sausage fest.
The only woman was the teacher.
Idea: Maybe give a computer class, and you'll be the only guy teaching a class of women.
find the perfect wife a few years later, by coincidence,
That's the way it works.
At least if one is not looking for some kind of adventure but a life-partner.
You need to meet real people in real life.
Communication is way -
way - more as one can establish by using electronic devices.
Particulary the process of partners finding each other happens on all forms and levels of communication, especially the non verbal ones.
As already pointed out, at best dating apps are for finding sex, but mostly for chatting, only.
Well, there may partner-finding-agencys actually working. I knew a couple met each other this way. Married happily ever after with children etc. but by my overall experience that's like relying on playing the lotterie for income.
As a young man I learned:
Who searches will not find.
That's because if you trying to find a woman as a partner, you reek of desperation.
Adult, consolidated women run as fast, and as far as they can by the lightest touch of desperation.
Stop searching and get rid of desperation are part of the same progress.
Einstein said:
"Life is like riding a bicycle. You need to stay in motion to keep your balance."
When you truely are in balance with yourself, the world, and the universe,
meet real people, in real life, in real world.
More sooner than later the right partner for you will find you, automatically,
unexpectedly.
Otherwise best you can get is an imature woman with issues, or worse some kind of a sick broad.
Or, what also many men do, is to fake, play self-confidence, while they are not truely consolidated in balance.
Any of those is not going to end well.