Problem: Sentence1: To die to pleasure or to sin.
Sentence2: She died from cancer.
Q: Does the term die mean the same thing in both these sentences?

Answer: the same meaning

Problem: Sentence1: Crime doesn't pay.
Sentence2: To pay attention.
Q: Does the term pay mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: Don't lie to your parents.
Sentence2: The book lies on the table.
Q: Does the term lie mean the same thing in both these sentences?

Answer: different meanings

Problem: Sentence1: Fall into a strange way of thinking.
Sentence2: She fell to pieces after she lost her work.
Q: Does the term fall mean the same thing in both these sentences?

Answer:
the same meaning