This is Goodheart’s Law: “Once a metric becomes a target, it is no longer a good metric.”
Goodheart’s Law captures a remarkably diverse range of phenomena. When Google first introduced PageRank, it demonstrated that by counting the number of backlinks to every page on the web, it could extract a signal indicating which pages were most important (since there’s no reason to link to a page unless it’s noteworthy).
However, once PageRank became the primary means by which web users found pages, counting the number of links became useless. There are two reasons for this. First, because people used PageRank to find the best pages and link to them, it became impossible for new pages to acquire the backlinks necessary to surpass existing ones. Second, it became easy for spammers to create large numbers of backlinks to low-quality pages—provided they had a reason to do so.
Counting the number of backlinks was once the world’s best ex post method for predicting which pages best matched a searcher’s query. However, since this approach ended up shaping the very world it was analyzing, it is no longer an excellent ex ante method for predicting which pages best match a search query.