Not the exact wording but the general premise behind it is a fair counter point in any disagreement. When someone is attempting to gain a higher moral authority, bringing up any hypocrisy is a reasonable thing to do. If pointing out hypocrisy is then dismissed, it is reasonable to assume the other person is not arguing in good faith and therefore should no be taken seriously.
Pointing out hypocrisy can be relevant, but often is just whataboutism. It is perfectly valid to have different opinions on similar situations, because no two situations are completely equivalent.
That said, anyone arguing in good faith should be prepared to examine their own biases as well - as long as they really are relevant to the latter at hand.