“Now no chastening seems to be joyful for the present, but grievous; nevertheless, afterward it yields the peaceable fruit of righteousness to those who have been trained by it.” Hebrews 12:11.
“If you endure chastening, God deals with you as with sons; for what son is there whom a father does not chasten? But if you are without chastening, of which all have become partakers, then you are illegitimate and not sons. Further, we have had human fathers who corrected us, and we paid them respect. Shall we not much more readily be in subjection to the Father of spirits and live? For they indeed for a few days chastened us as seemed best to them, but He for our profit, that we may be partakers of His holiness.” Hebrews 12:7-10.
“Therefore we also, since we are surrounded by so great a cloud of witnesses, let us lay aside every weight, and the sin which so easily ensnares us, and let us run with endurance the race that is set before us, looking unto Jesus, the author and finisher of our faith, who for the joy that was set before Him endured the cross, despising the shame, and has sat down at the right hand of the throne of God. For consider Him who endured such hostility from sinners against Himself, lest you become weary and discouraged in your souls. You have not yet resisted to bloodshed, striving against sin.” Hebrews 12:1-4.
How do we know what is good? The Bible tells us that God is good. In fact, it speaks of His goodness throughout Scripture.
“The Lord is good to those who wait for Him, to the soul who seeks Him. It is good that one should hope and wait quietly for the salvation of the Lord.” Lamentations 3:25-26.