God hates sin....he could not allow a sinner to come into His presence......therefore He developed a plan of salvation..
The only one that could pay the price for the sin of the first Adam was the perfect second Adam, Jesus Christ ...God Himself.....The creator saves the created....Who am I Lord that you should be mindful of me a sinner?
There was no way to avoid this road, it was vital for our progression. Its the refiners fire-
A man who separates the precious metals from the dross with which in nature they are usually found mixed. Part of the process consists in the application of great heat, in order to bring the mass into a fluid state, hence the term refiners fire. Christ is the great Refiner. See Isa. 1: 25; Isa. 48: 10; Zech. 13: 9; Mal. 3: 2-3.
D&C 136
30 Fear not thine enemies, for they are in mine hands and I will do my pleasure with them.
31 My people must be tried in all things, that they may be prepared to receive the glory that I have for them, even the glory of Zion; and he that will not bear chastisement is not worthy of my kingdom.
32 Let him that is ignorant learn wisdom by humbling himself and calling upon the Lord his God, that his eyes may be opened that he may see, and his ears opened that he may hear;
33 For my Spirit is sent forth into the world to enlighten the humble and contrite, and to the condemnation of the ungodly.