Because He is all-knowing, that includes knowing what is best for His creation. Now, do you ask to seek understanding or do you ask because you think He could have chosen a better way? If the latter, then you deny your initial premise.God is All-Powerful and All-Knowing. Why did He have to send His only son, Jesus, to die so that our sins could be forgiven? Why couldn't He forgive them Himself?