Hello brother,
Wrath of God is not found in Psalms 22. What we read is a prophecy concerning our Lord when our Father delivered/gave Him over (ref: Acts 2:23) to evil people who despised, ridiculed, and hated Him. It is a prophecy of the events. Our Lord fully knew what He came to do and what awaited for him. And in all that happened to Him, none of it was God's wrath
Please point out any of the 31 verses in Psalms 22 that witness God's wrath against His Son, who humbly and willingly came into our form to suffer and die at the hands of evil men in order to give His life as the atoning sacrifice for our sin. Our Father's will to hand Him over and not rescue Him from the wicked people who surrounded Him is not wrath. It is God's grace in action that a sinless Man would die for the sins of the sinner. It is God proving that He is righteous and merciful; that sin demands death and in the sacrificial death of His Son for our sins, God proves He merciful and just to justify all who believe in Jesus Christ.
We should be edified by the fact that God did not pour wrath out on His Son, but showed love and grace towards us by delivering/giving up His own Son to save us from the wrath to come and adopt us as His children.
Jesus Christ dying on a cross was a rescue mission to save mankind from God's wrath for sinning against Him. It had zero to do with God needing to vent His anger on His Son to feel eternally good about forgiving us. We are forgiven by the grace of God that His Son willingly became like one of us and died like a sinner on a cross to ransom us from sin, death, and the grave.
God was not looking to vent anger; this is not love, but He was needing someone to stand the gap for us in love that would give His own life for our sinful lives. This single act of righteousness is what saves us (ref: Rom 5:18). Jesus Christ is and will forever br our Great High Priest who gave His own sinless life to purchase/redeem us. God honors Him, not us. It is our faith in Jesus Christ loving and dying for us that God honors and forgives us.
God Bless