In the movie Pirates of The Caribbean: Dead Men Tell No Tales, Captain Salazar said in a scene to the son of Captain Turner that "Dead Man Tell No Tales".
Captain Salazar: [to the only survivor of a ship he attacked] Jack Sparrow... [holds up a wanted poster of Jack Sparrow]
Captain Salazar: Do you know this pirate?
Henry: Only by name.
Captain Salazar: Find Jack Sparrow for me and relay a message, from Captain Salazar: Tell him death will come straight for him. Will you say that to him, please?
Captain Salazar: I wish I could do it, but dead men tell no tales.
But when he met Captain Barbaroussa he told him the tale about how he became a dead man.