Book of Hebrews

Hebrews 12:7

King James Version
7 If ye endure chastening, God dealeth with you as with sons; for what son is he whom the father chasteneth not?