I've had this problem and the "clean the jar and the cabinet" (and all of the paths they take, as much as you can to the entry points) advice is what worked for me (as @TheGremlyn states in their answer).
I've also relocated my honey near my spices after observing that area was always devoid of ants. I'm not sure if the spices actually repelled the ants but that area of my cabinet is quite aromatic with custom curry blends, pickling spices, anjwain (strong thyme like), fennel, cloves, pepper/chili, cumin, and many others. There's also spice "dust" on the shelves from the constant shuffling/opening/closing/use.
How often does your ant problem re-occur? After cleaning up, temporarily re-locate the jar for awhile until the ants have stopped sending their scouts in to check. Then put it back in its normal place.
Are there any other items near the honey that may be attracting the ants? If so, temporarily relocate those items too.