The main advantage is that the paper which you wrote gets checked and assessed for its quality which enables you to see whether what you did was actually worth it and any good. If it's not and it wasn't worth it, it would mean that what you did wasn't particularly useful nor helpful.