The Bible teaches that discipline should be done out of love and for the good of the child, and not out of anger or frustration. Parents should also balance discipline with love and affection, praising and encouraging good behavior.