The point of the simile of the raft is to realize that holding one's own version of the dharma as the only valid one and considering the others wrong is a form of attachment that will not lead to anything good and that contradicts the practice itself. In the long run a closed and dogmatic attitude will reinforce harmful mental patterns.