It depends on how you use it.
If you spread it in a room that is often walked around, plus children, pets, or lack of air conditioning, this rug will soon be worn out. If you put it on a formal occasion for a quiet conversation or rest, then it can be passed from one generation to the next.
A piece of wool carpet can be used for 50-70 years.
If it is silk, the dye on the top will not fade. Theoretically, it can be used forever.