The Moral and Immoral Both Alienated from God
Both moral and immoral people are alienated from God. God is offended by both. This may be counter-intuitive but moral people are lost because of their "goodness". Why? It is often the case that goodness keeps people from God. In fact many people avoid Jesus by avoiding sin because they are trying to become their own saviors ... attempting to justify themselves. But the gospel is neither moralism nor relativism so it is equally offensive to the moral and the irreligious. But Christ calls us to repent of both our good and bad works, for we have no righteousness of our own.
As an example of Jesus dislike of people who trusted in their own morality, Jesus said, "If you were blind, you would have no guilt; but now that you say, 'We see,' your guilt remains." (John 9:41) Those who think God will accept us based on goodness actually understand only part of the truth. Yes, God loves what is good. But since He also loves the truth, we must confess that, in light of God's holy law, we are not good and have woefully failed to do what is pleasing to God, replacing God with worthless self-pleasing idol substitutes, and so we justly deserve to be punished for it. Those who think they have done enough to please God have not understood or considered the seriousness of their condition. John Calvin once said, "Man is never sufficiently touched and affected by the awareness of his lowly state until he has compared himself with God's majesty." In light of the holiness of God all persons, even the best of us, would become undone. This was the case even with the holiest of the saints of the Bible. When it pleased God to reveal himself to them, they fell at his feet as though dead. God created us to enjoy and glorify Him, but humans voluntarily rebelled against God falling into the bondage of the self-centeredness of sin and cannot help themselves out of it.