They are hydraulic, right?
A rear-drum TJ has 3 brake hoses; 2 in the front and 1 in the rear.
I replace them as "a set", since they are likely all the same age and have all suffered the same exposure, use, etc.
Replacing a 'working/ still good' brake hose is pretty cheap insurance if you ask me.
Like I would never replace all of the hardware and shoes without also replacing the cylinders.