From a skills perspective HR maybe struggling, but recruitment is more than finding the right skills. It includes background checking, psychological screening, screening for fitness to corporate culture etc. I don't claim all HR are more skilled than everyone here, but most of non-HR people are not experts in all aspects of recruitment neither.
Background checks are contracted out to third parties, psychological screening is nonsensical and discriminatory, and HR has not the first clue what corporate culture is like outside their bubble.