If you need life insurance protection for a duration of 30 years or less, then term insurance may be a good idea.
Term insurance is temporary protection, lasting for a "Term" of 10, 15, 20, 25 or 30 years.
If your need is temporary, for 30 years or less, term insurance can help you accomplish your goal.