The GHIC will provide you with free or reduced cost emergency healthcare when you’re travelling in the European Union.
This is specifically designed to be used for medical care that can’t wait until you get home and includes emergency treatment for conditions like diabetes.
But the GHIC doesn’t replace travel insurance and won’t cover you for all medical costs - for example, if your medical emergency means you need to be sent home.