How good do you have to be to get to Heaven? God is holy, and requires holiness. Holiness is purity. Even though you may think you are good enough, even one sin disqualifies you from being in the presence of God. You could never be good enough. That is why you need Jesus.
The Bible says that there is none good enough. "There is none who does good, there is not even one," (Rom. 3:12). Goodness is measured by God's standard - not yours.
To say that you are good enough means that Christ did not have to die. But He did die to save sinners. The Bible says if righteousness can come by good deeds, then Christ didn't need to die (Gal. 2:21); but He did, so being good isn't enough.