A man sits atop a dead horse in Sheboygan, Wisconsin. The idiom "to beat a dead horse" originated from the fact that flogging a dead horse will not compel it to do useful work.
Flogging a dead horse (or beating a dead horse in American English) is an idiom meaning that a particular effort is futile.