Definition
To waste effort on a hopeless or already decided matter; to continue to pursue something that is no longer viable.
He keeps trying to convince them to change their minds, but I think he's just flogging a dead horse.
This project has already failed; continuing with it is just flogging a dead horse.
They have been trying to promote this outdated product, but it is like flogging a dead horse.