To flog a dead horse. meaning

HOME PROVERBS

useless

To flog a dead horse.

said when :
one is making an effort on something that there is no chance of succeeding; or spending time and energy on an activity that is already widely rejected or outdated.
also
It is useless to flog a dead horse