Glare shows in compositing window, not in final render
You need to connect the output of the Glare node to the image input of the Composite node. Otherwise you're just viewing the result of the glare but not applying it to the compositing output.