You pay a plumber for the time they take doing a job, and the parts they need for the job.
So in this sentence, it must take the plumber longer to repair it than it does to replace it.
So they are recommending you by a new pump instead of repairing the old one.
The money saved because the plumber will work fewer hours will pay for the cost of the new pump.