I agree. For people that need a job right now, attending events to broaden your network could work, but first try to connect with people already in your network that you have established trusting professional relationships with. Preferably, you've talked to them recently and you have a good rapport, otherwise, it may not come across well.
I have had so many people reach out to me out of the blue when they're looking for job, after literally leaving me on read in LinkedIn DMs. And giving them the benefit of the doubt, I meet with them and try to help them out, and then I never hear from them again after they find a job. It doesn't feel great, which is why I always suggest being intentional about nurturing your close professional relationships. It doesn't have to be anything grand; just being kind and courteous goes a long way.