People still install a PDF tool or upload their tax papers to some random merge website just to glue two PDFs together. On a Mac you don’t need any of that. Preview does it, and the trick is the sidebar with page thumbnails.
Open both PDFs in Preview and turn on the thumbnails for each one through the View menu. Then drag pages from the sidebar of one document into the sidebar of the other. You can drop them at the end or between two pages, and you can drag thumbnails around afterwards to fix the order. Hold Command while you click to pick pages that aren’t next to each other.
View > Thumbnails
drag pages from one sidebar to the other sidebar
Command-click = select pages that aren't next to each other
Want the whole second file in one go? Drag its icon from Finder straight into the sidebar of the open document. Say you have a signed contract in one PDF and the appendix in another: open the contract, show the thumbnails, drop the appendix file under the last page, done.
Watch out for one thing, because it bites if you don’t expect it. Preview saves changes automatically, so the PDF you drop pages into is changed on disk, not just on screen. Apple’s own advice is to use File > Duplicate on each PDF before you start combining. I’d do exactly that, and only merge into the copy. Your original stays untouched, and you can throw the copy away if the page order went sideways.
I like this one because it keeps private documents on my MacBook Pro instead of on someone’s upload server, which matters when the PDF is a payslip or something from the Belastingdienst.
Further reading: Combine PDFs in Preview on Mac