Question: Sentence 1: While there's life there's hope.
Sentence 2: He gave up on life.
Does life mean the same thing in these two sentences?
============
Answer: the same meaning

Question: Sentence 1: It was my good luck to be there.
Sentence 2: They say luck is a lady.
Does luck mean the same thing in these two sentences?
============
Answer: the same meaning

Question: Sentence 1: We visited a farm where they raise chickens.
Sentence 2: Raise a family.
Does raise mean the same thing in these two sentences?
============
Answer:
the same meaning