That is not a punishment from God towards you.Sometimes those things happen but God does not punish anybody.
We are under a state of grace which means that God only touches people for good.God will never touch a person to punish them.
Jesus is God manifest in the flesh which means Jesus is the fulness of God,all His attributes manifest in the person of Jesus Christ and God's personal body that is now glorified and will be the way the saints will see the invisible God in heaven.
Jesus is God personally walking this earth in human form like when he showed Himself to Abraham in human form but the form of Jesus is permanent.
The Bible says that Jesus shall be called Emmanuel which means God with us.Jesus is God with us.
When Jesus walked this earth He showed us what God's love is like towards us and Jesus did not hurt anybody or punish anybody.That love still applies today so God is not punishing anybody no matter how they act whether good or bad.
Do not believe that God is punishing you for He is not punishing you or anybody else.Things run their natural course and God only touches people for good.
Do not believe that God is punishing you for that is blasphemy against the Holy Spirit because you would be calling God evil when He only touches people for good.
God is not punishing you.He is a good God.
God will one day judge people who did not receive the truth and they will not have fellowship with God but God is not punishing anybody and always touches people's hearts to come to Him in repentance.
Matt