Moving the goalposts (or shifting the goalposts) is a metaphor, derived from goal-based sports, that means to change the rule or criterion (goal) of a process or competition while it is still in progress, in such a way that the new goal offers one side an advantage or disadvantage.

(“Moving the Goalposts” 2022)

Bibliography