Psalm 30:5 For his anger endureth but a moment; in his favour is life: Weeping may endure for a night, but joy cometh in the morning.
There are times when God will have to allow or cause us to endure some harsh treatment. We will have walked off the path. We will have delved into sin. The consequences will hurt us.
God does discipline us. He disciplines His children. We are His children and should expect that He will discipline us. We can not expect to live like we want once we belong to Him. He will work in our lives till we start living out our faith.
This anger, consequences, of our sin can hurt and cause us to weep but we can know now that it is only for the moment. He loves us. He is working in us to bring us to Him to serve Him. Joy comes in the morning. The discipline will serve its purpose and we will begin to live out who we are and He will love us and let us know that all is good.