That’s not an ad hominem, though. If someone says something, and you dismiss it and call them a liar, thats an ad hominem. If they tell a bunch of lies, and you label them a liar, that’s not an ad hominem. That’s accurately describing the person based on their choices.