Yes, Jesus said that! He is the only One to ever say that in fact! Read those lines carefully, for they hold a truth so important that it can save your soul! God has made the way back to Him very clear, and that way is Jesus.
Be encouraged! God has provided a way out of the valley of the shadow of death! You do not need to fear death any longer! Hallelujah!
God bless you all!