Hi artist369!
You should create a copy of page.php and re-name it to front-page.php. Be sure to change the comments at the top to match the page describing the template to: Template Name: Front Page.
Then create a new page in WordPress called “Home” and set the page template to Front Page. Lastly, go to Settings > Reading and change the first field “Front page displays” to Static Front page and set as Home to make sure that’s the page users land on when they type in your site URL.
Once you’ve done that, insert your PHP into that page template and enjoy!