Question: what is the meaning of idiom lose heart?
Answer: Become discouraged, as in The rescuers worked hard for the first few hours, but then they lost heart. This term uses heart in the sense of “courage” or “spirit.” [Mid-1800s] Also see lose one's heart to.