It’s showing twice because you put the code directly and not replaced with the line that already exists. First find the line {% section ‘header-group’ %}
then replace below code
{% unless page.title == ‘9 Pines Landing Page’ %}
{% section ‘header-group’ %}
{% endunless %}