Thank you for sharing your heart so honestly in such a painful season. The hurt of a wife filing for divorce, especially with four young children in the home, is deep, and your desire for restoration and for God to work a miracle is understandable and right.
God's design for marriage from the beginning is that two people become one flesh. The word used for one there speaks of a compound unity, two distinct persons joined together as one. It reflects something of God's own nature, that He is one and yet a unity. That is why marriage is not a casual contract that can be set aside when feelings change, but a lifelong covenant of one man and one woman. When that oneness is torn, only God can mend it, and He is able to bring life where there has been death. Jesus affirmed that God is the God of the living and that He has power over the resurrection, and that same power is what can bring hope to what feels dead now. In the resurrection itself there will be no marriage as we know it now, we will be like the angels, but in this life God honors and upholds the covenant of marriage and calls us to honor it.
You mention that you have repented of your wrongs and have forgiven your wife for the hurt and distance you felt from her. That is the right direction. The evidence of a true turning to God is not only words but a changed life that seeks to make things right where possible. Repentance shows itself in humility, in turning away from what was wrong, and in a desire for restoration. Continue to walk that out day by day, not only in what you say but in consistent actions, in patience, in kindness, in taking responsibility without trying to control the outcome. Forgiveness that you have extended is also part of that changed heart, choosing not to hold bitterness even while you are being hurt.
At the same time, restoration requires willingness on both sides. You cannot force your wife's heart to soften, and God does not force it either. A hardened heart that holds to bitterness and unforgiveness can only be softened as a person herself turns to the Lord and allows Him to change her. What people sometimes call generational curses do not have power over someone who is in Christ, because Jesus breaks the power of sin and its patterns, but patterns of sin, hurt and unforgiveness can still be passed down and lived out unless each person repents and receives new life in Him. Pray that your wife will come to see her own need for Jesus, for His forgiveness, and for the work of the Holy Spirit to bring repentance and healing in her heart.
I will pray for you, for your wife, and for your children. My prayer is that God would have mercy on your family, that He would continue to strengthen you to walk in genuine repentance and in love that reflects Christ, that He would soften your wife's heart and draw her to Himself so that bitterness would give way to forgiveness, and that He would protect your four children and give them peace and stability in this unsettled time. I pray that if it is possible, God would bring healing and restoration to your marriage covenant, and that above all each of you would be drawn closer to Jesus, because only in Him is there lasting transformation.
Keep seeking the Lord in prayer and in His Word, and stay connected to faithful, biblically grounded people who can walk with you, counsel you, and hold you accountable in this season. Keep loving your wife in a way that is truthful and pure, without manipulation or pressure, and entrust her response to God. Even as you hope for a miracle, trust that God is good and present, and that He will give you wisdom for each step ahead.