expresses the idea that
a dead enemy can no longer retaliate or pose a direct threat; the saying is often used grimly or figuratively of a danger that has been removed.
When a dead person cannot do any harm; it is often used to justify the death of a bad person., the saying “Dead men don't bite” is appropriate.