Have you had a look at the quark blog-item.html.twig, is slightly different and always good to use quark as a reference point as it is updated / check for compatability for each release.
<p class="prev-next text-center">
{% if not page.isLast %}
<a class="btn" href="{{ page.prevSibling.url }}"><i class="fa fa-angle-left"></i> {{ 'THEME_QUARK.BLOG.ITEM.PREV_POST'|t }}</a>
{% endif %}
{% if not page.isFirst %}
<a class="btn" href="{{ page.nextSibling.url }}">{{ 'THEME_QUARK.BLOG.ITEM.NEXT_POST'|t }} <i class="fa fa-angle-right"></i></a>
{% endif %}
What theme are you using where the problem occurs ?
Looks like the THEME_QUARK.BLOG.ITEM.NEXT_POST and THEME_QUARK.BLOG.ITEM.PREV_POST’ might need a bit of explanation, but to this untrained eye is using a variable of where the blog directory lives
I am sure pamtbaau will be able to tell you straight away, but it looks like where the location of the root of blog lives and query the next posts either side , then sends itself back to the blog (blog-item.html.twig)
as in the example site of the person who put the question in above
<p class="prev-next"><a class="button" href="/seo/ouvrir-url-masse"><i class="fa fa-chevron-left"></i> Article suivant</a>
<a class="button" href="/seo/exemple-negative-seo">Article précédent <i class="fa fa-chevron-right"></i></a></p>
from the site Spécialiste SEO (SEO Specialist) | Merci Serguey (mercisergey.com)