Google Analytics listing hundreds of pages (extra slug code) but my site has 2 pages

Google Analytics is listing hundreds of pages on my site because something is adding extra information in the slug, and I have no idea how or why. This hasn’t happened on other sites. You can see that in the photo that basically every view of a page is considered its own unique page on my site.

Does anyone know how to fix this? Thank you!

Screenshot of a Google Analytics page behavior list and graph