John 3:16: "For God so loved the world, that He gave His only-begotten Son, that whosoever believes in Him shall not perish, but have everlasting life."
Jesus came to earth for 2 reasons - to live a perfect life for us and to suffer and die on the cross for our sins. We are to believe that Jesus died and was resurrected in payment for our sins. It's not a question of 'What would Jesus do', but 'What DID Jesus do".
Sure, we are to try to be 'good' but that's never going to get us into heaven, because we cannot possibly be perfect as God commands us to be. Faith saves - not works.