This is a very common recommendation to someone who is buying a bond.
Bonds are the debt of a company or government that pays interest to the buyer. Suppose you buy a new 10-year bond for $1000, and it pays 2% interest. Each year, you will get $20 interest, and after 10 years, you get your $1000 back. This is "holding until maturity".