Morgan died in 1588 before his task was complete, but nature finished what he had  Jamaica suffered a powerful earthquake in 1692, and Port Royal sank into the sea, taking with it many of the treasures stolen from the Spanish.
He died before completing his task.
He didn't die before completing his task.