When you modify the boot image with Magisk, you're essentially creating a new image that includes the Magisk framework, which allows you to run modified system components and access restricted areas of the device.
Samsung firmware files are nested archives. You need to extract the boot image from them. download 907 patched boot image for magisk full
If you are looking for a specific version like or a specific build for an Essential Phone or Samsung device, it is best to download the original stock firmware from the manufacturer first and then follow the manual patching steps. When you modify the boot image with Magisk,
Here is a review of the current situation regarding the "907 patched boot image for Magisk" and the safety of using pre-patched images. If you are looking for a specific version
: You then transfer the resulting magisk_patched.img to a PC and flash it via fastboot commands. Risks of Downloading Pre-Patched Images
Using a patched boot image from a different device or firmware version will result in a (your phone gets stuck on the logo screen).