Of course, if the cassette is worn out, so is the chain. If you replace only the cassette, you will not fix the problem. In fact, you will ruin the new cassette very quickly. When you go to buy the cassette tool you need, also get yourself a chain tool.
__________________
Je vais à vélo, donc je suis!