What Good Is Doctrine?

If anyone teaches a different doctrine and does not agree with the sound words of our Lord Jesus Christ and the teaching that accords with godliness, he is puffed up with conceit and understands nothing.  1 Timothy 6:3-4

Why is doctrine so important that the Holy Spirit would inspire the writers of the New Testament to assign it such significance?