God removes all things in the believer’s life that would hinder fruit-bearing, i.e., He chastises to cut away sin and hindrances that would drain spiritual life just as the farmer removes anything on the branches that keep them from bearing maximum fruit ( Heb 12:3–11 ).

www.bible.com/100/jhn.15.2.nasb1995