move/shift the goalposts

idiom

Definition of move/shift the goalposts

: to change the rules or requirements in a way that makes success more difficult