It is an infection
Basically yes. It is a bacterial infection so antibiotics are important.
The joint is infected it has to be surgically drained as well for the joint to heal. Often the joint destruction however leaves the joint permanently not working as well as it was before the infection. The worse the joint was at the time it was drained, the more permanent problems from the joint.