If there is no pain in God then what happened on the cross is meaningless. Did God feel the nails hammered into the wrists and feet and thorns on the head of Jesus?
The Son of God, the Second Person of the Trinity, who is God, Jesus Christ, felt the pain of those things and bore the wrath of the Father in His humanity. But in His divinity He cannot change or have emotions or hurt.