God the Father doesn't just discipline His children to spank them for doing wrong.
He also disciplines us to train, strengthen and make us more equipped for our callings in His kingdom.
So don't let hardship demoralize you and tempt you to give up. Don't let it harden your heart either.
But stay humble, and look to God to make you a stronger, wiser and more grace-filled person through the hard circumstances you face.
The Lord disciplines those He loves (Heb.12:6).