Hebrews 12:13
But God is doing what is best for us, training us to live God's holy best. At the time, discipline isn't much fun. It always feels like its going against the grain. Later, of course, it pays off handsomely, for it's the well-trained mind who finds themselves mature in their relationship with God.