A warm welcome to HP Forums! This is a great place to get support, find answers and tips to your technical queries.
As per the printer specifications available here, HP LaserJet Pro MFP M130fn Printer is not wireless capable. I'm afraid, you have to connect the printer using Ethernet cable or USB. HP LaserJet Pro MFP M130fn printer is compatible with macOS 10.14 Mojave. If the printer is connected to your WiFi router using an Ethernet cable then you can setup the printer with Apple AirPrint, you may use step 2 from this document to the printer with Apple AirPrint. If the printer is connected to your Mac using a USB cable, then you can use HP Easy start application to set up your HP printer and prepare your Mac for printing. HP Easy Start will locate and install the latest software for your printer and then guide you through printer setup.You may download HP Easy start application from here.
Let me know how it goes!
If the information I've provided was helpful, give us some reinforcement by clicking the Accepted Solution and Kudos buttons, that'll help us and others see that we've got the answers!
Have a great day!