You don't need religion or the Bible to tell you that you ought to be good. That you ought to be good is something you already know even without all the religions in the world. Yes, even without the Bible.
The Bible is not another You-Ought-To-Be-Good book. The reason why many people do not read the Bible is because of this. They think that they already know its message that, viz. we ought to be good.
No, it is more. It diagnoses the sad fact that we have a spiritual defect; that we ought to be good but we have not and so we need to be saved.
Look, you know that you ought to be good, but you have not. Your very own conscience affirms this. You know that you have failed your very own standards, one, too many times. How much more God's!
The Bible says that you need to run to the Savior for salvation. Trust in Him and His death on the cross for your salvation.