Isaiah 54:8

54:8 In a burst of anger I rejected you momentarily,

but with lasting devotion I will have compassion on you,”

says your protector, the Lord.

Hebrews 12:6-7

12:6For the Lord disciplines the one he loves and chastises every son he accepts.

12:7 Endure your suffering as discipline; God is treating you as sons. For what son is there that a father does not discipline?