How does a child regard discipline from a parent, a father? In the short term it is not welcome because it is designed by the parent to be painful. The child has stepped over a boundary.
God has many sons and daughters but none of them are without chastening. To be adopted into God’s family is to begin a training course which we are assured God will see through to conclusion. The fruits of it are tremendous and to our eternal profit. We will not remain children in this sense forever, for just as a child grows up to adulthood, so the Christian in this world is like a child under training, but will be emancipated into adult life in eternity.