# it produces the peaceful fruit of righteousness

"Fruit" here is a metaphor for "result" or "outcome." Alternate translation: "it produces the peaceful result of righteousness" or "it produces righteousness, which results in peace" (See: [[rc://en/ta/man/translate/figs-metaphor]]) 

# who have been trained by it

"who have been trained by discipline." The discipline or correction done by the Lord is spoken of as if it were the Lord himself. This can be stated in active form. Alternate translation: "whom God has trained by disciplining them" (See: [[rc://en/ta/man/translate/figs-personification]] and [[rc://en/ta/man/translate/figs-activepassive]])