Exercise is definitely good for knee pain, and walking is one of the best types of exercise you can do. Walking exercises the leg muscles that move and support the knee while not applying much force to the joint. The key to exercise is to do it consistently. Walking is very accessible, making it an excellent option if you have knee pain.