Moving the blog page

When you are selecting a static page as homepage, you can use an existing page(or a new page) to select as blog page.
It won’t need any custom code to display anything.

If you want to display a blog on a page which as a slug /blog/ to display the blog layout with your own code, then don’t select anything for the blog page at the settings page where you have selected the static page.