He told a truth. Not the only truth.
However, the Christian Church misunderstood and bastardized that truth. Jesus was talking about his message of Faith, Hope and Love. That is the path. Criminals and despots took that message and warped it. Thus, it became Jesus himself who was the way and the door to eternity.
Live a life of love and the GoDs will adore you. Heaven will be yours. The religion does not matter.