The Pirates of the Caribbean movies established a backstory for its primary antagonist Davy Jones, but several details seemed to have been thrown out the window by Pirates of the Caribbean: At World's End. These changes ultimately impact significant plot and characters, especially William Turner, who took Davy Jones' place as captain of the cursed ship, the Flying Dutchman. The rule that whoever stabbed Davy Jones' heart would take on his mantle allowed Will's life to be saved, but only if he cut out his heart and stored it away in a chest— something that was never meant to be a requirement.
https://screenrant.com/pirates-caribbean-3-davy-jones-rules-forgotten/