Yeah. Ideally, chains and cassettes/freewheels should age and be replaced together. The trick to keeping an old freewheel/cassette going for as long as possible is to replace the chain with a new one fairly frequently so the wear is minimized. Installing some random used chain from another bike is a really bad idea.