All discipline at the time seems not to be pleasant, but painful; but later it yields the peaceful fruit of righteousness to those who have been trained by it (autēs | αὐτῆς | gen sg fem3rd).
Reference
Hebrews 12:11
Sequence
3315