No genuine Christian sets out deliberately to displease God or mislead his fellow believers. Nevertheless, as James puts it, “We all stumble in many ways”, and the Lord often graciously uses the errors of others to help us find the right path, rather than requiring us to learn Christlikeness through hard personal experience of its opposite.
Many New Testament letters were written in response to doctrinal errors or bad practice, but the church in Corinth seems to have had more than their fair share.