HP may have bailed on support of the Envy 6052e drivers. It is supported natively by macOS Monterey and the built-in AirPrint when networked wirelessly, or wired. If you have an available network port on your router or switch, plug the device in with an Ethernet cable, power it on, and then in System Preferences > Printers & Scanners, click the [+] button to add this printer. There will be an interim display showing the description and Bonjour detection. Click that to select, and in the Use: selector, it should automatically either offer AirPrint, or default (which should be AirPrint too). Click the Add button, and print something.
If you can print, then the scanning functionality (if present) is handled by Apple's provided Image Capture application.