God is love. He did not wish sin to enter the world; yet He made man free so that he could choose wrong doing if he preferred it to God's way, after knowing of the dreadful results of sin.
THE love and obedience of every intelligent being must be tested. Tests make character. If we obey God's laws and walk in His ways, we become in character like God and sinless angels.
We must have a good character before we are fit to enjoy the beautiful home Christ is preparing for those who are faithful. God will give us a good character, and help us to obey, if we ask Him.
If we refuse to let God help us do right, we are out of harmony, or at war with Him and Heaven. We then come into harmony, or union, with Satan and his angels, and when sin is destroyed we must perish with it.