You're on the right track! Nietzsche criticized the dominant form of Christianity, but he understood very well that Jesus taught something different from what the things claiming to be the church taught.