Here "they" refers to the people of Israel. This would include Isaiah. Alternate translation: "we looked to you" (See: [[rc://en/ta/man/jit/figs-123person]])
The abstract noun "discipline" can be stated as a verb. Alternate translation: "when you disciplined them" (See: [[rc://en/ta/man/jit/figs-abstractnouns]])