I hAVE A 1985 OLDS CUTLASS THAT NEEDS THE WATER PUMP REPLACED. on 1990 Oldsmobile Cutlass Supreme

it is making a loud knocking noise under the hood, is this from the water pump or another engine problem? The car has 86k miles and dont know if its worth fixing?