A man who stabbed a 32-year-old to death over a debt has been jailed for life with a minimum term of 17 years, police said.