To these excellent examples, I'd add another one, from the world of monetary policy: Goodhart's Law, which holds that "When a measure becomes a target, it ceases to be a good measure":
en.wikipedia.org/wiki/Goodhar...
23/
en.wikipedia.org
Goodhart's law - Wikipedia