I love how this verse is expounded upon in Hebrews 12:1-13—>
“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, 2 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.
3 For consider Him who endured such hostility from sinners against Himself, lest you become weary and discouraged in your souls. 4 You have not yet resisted to bloodshed, striving against sin. 5 And you have forgotten the exhortation which speaks to you as to sons:
“My son, do not despise the chastening of the Lord,
Nor be discouraged when you are rebuked by Him;
6 For whom the Lord loves He chastens,
And scourges every son whom He receives.”[a]
7 If[b] you endure chastening, God deals with you as with sons; for what son is there whom a father does not chasten? 8 But if you are without chastening, of which all have become partakers, then you are illegitimate and not sons. 9 Furthermore, 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? 10 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. 11 Now no chastening seems to be joyful for the present, but painful; nevertheless, afterward it yields the peaceable fruit of righteousness to those who have been trained by it.
12 Therefore strengthen the hands which hang down, and the feeble knees, 13 and make straight paths for your feet, so that what is lame may not be dislocated, but rather be healed.”
God is our heavenly father, who loves us so dearly that he coaches us day by day to be the best we can be. He loves us too much to let us stay where we are in life; he knows it’s better for us to grow, to be more like him, to trust him more. So he coaches us as our dad, training us. Like in sports training, it can be painful and difficult, and we don’t always know why we have to do it, but in the end we come out so much stronger than we imagined.
Remember that next time something bad happens, or hard times come. It’s not a punishment; Jesus took all our deserved punishment on the cross in our place, so it can’t be that. See it as discipline: God’s putting you through training. It hurts now, but after it’s over you will be stronger if you persevere.