Hebrews 12:11

11 No discipline is fun while it lasts, but it seems painful at the time. Later, however, it yields the peaceful fruit of righteousness for those who have been trained by it.