Here "hearts" represent courage. Also "the hearts ... will die" represents losing courage and being afraid. Alternate translation: "the king and his officials will stop being courageous" or "the king and his officials will be terrified" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-metaphor]])