The McNamara fallacy. One of my favorite fallacies vaguely related to Goodhart’s Law
https://en.wikipedia.org/wiki/McNamara_fallacy