Do all 4 set of brake pads have to be replaced at the same time. on 1999 Acura Integra

Is it necessary to replace all 4 set of brake pads at the same time for a 1999 Acura Integra? I have replaced the rear brakes, but I was told by the parts dealer that it was necessary to replace them all at once.

Asked by for the 1999 Acura Integra
Absolutely not. The thickness of the pads needs to be checked on the front and back to determine which needs to be replaced.