Often we hear questions asked about why God does the things He does. He is never obligated to explain to us His reasons. (Romans 9) It should be enough for His children to know that it pleased Him. Anything God does is right because He does it.
For example, if someone asks why God created the universe, we may simply answer that it was for His "will they exist were created" (Revelation 4:11). "Whatever the LORD pleases He does, In heaven and in earth, In the seas and in all deep places." (Psalm 135:6). He does not have to give account to us, because we were also created by him at His pleasure.
And why did He allow His Son to suffer and die on the cross? Although "He had done no violence, Nor was any deceit in His mouth. Yet it pleased the LORD to bruise Him" and to "make His soul an offering for sin," knowing that eventually "the pleasure of the LORD shall prosper in His hand" (Isaiah 53:9,10).
We may never understand why God has done this or many of the other things He has done, especially for sinners such as us, but we don't have to understand. "It pleased God . . . to save them that believe" (1 Corinthians 1:21), not them that understand. Simply believe and obey His directions.
We can be sure that God does have perfect reasons for everything He does, and perhaps we shall understand it all in eternity. In the meantime, we are simply (with Paul) to be thankful that "it pleased God, who . . . called me through His grace, To reveal His Son in me" (Galatians 1:15,16).