Some humble, more curious alternatives: talk to the person to understand their perspective; question whether your assumptions were accurate; look for organizational issues that are systemic and magnified by this person's experience or responsibilities.
"The person you hired isn’t horrible, but they’re definitely not where you had hoped they’d be when you hired them.
Having these people not be horribly incompetent puts us in a tough spot.”
https://avivbenyosef.com/the-mediocrity-limbo/