I moved your topic to an appropriate forum category @ayooooooo.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
A tool named "esptool" is used during the compilation and upload operations for the ESP32 boards.
As reported here, the minimum compatible version and is 10.15:
The best solution would be to update your operating system.
I realize that is not possible to do with some computers. There are some alternative workarounds:
I'll describe both of them to you and you can chose whichever one you prefer:
Roll back to an older ESP32 platform
Older versions of the ESP32 boards platform are compatible with older versions of macOS. You can use the Arduino IDE Boards Manager to easily install any version of the ESP32 boards platform so it is simple to install the older compatible version.
I'll provide instructions you can follow to do that:
Select Tools > Board > Boards Manager from the Arduino IDE menus.
The "Boards Manager" dialog will open.
Wait for the updates to finish, as shown by the messages printed at the bottom of the "Boards Manager" dialog.
Scroll down through the list of boards platforms until you find the "esp32 by Espressif Systems" entry. Click on it.
A "Select version" menu will appear in the entry.
Select "1.0.6" from the "Select version" menu. ⓘ I believe 1.0.6 is the newest version that is still compatible with macOS High Sierra.
Click the "Install" button in the "esp32 by Espressif Systems" entry.
Wait for the installation to finish.
Click the "Close" button on the "Boards Manager" dialog.
By default, Arduino IDE periodically checks for newer versions of your installed boards platforms and offers to update them if a newer version is found. You'll need to refrain from updating back to the newer version of the "esp32 by Espressif Systems" platform. If you are bothered by these update offers, you can disable them. I'll provide instructions you can follow to do that:
Select File > Preferences... from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to "☑ Check for updates on startup in the "Preferences" dialog.
Click the "OK" button
This will also disable notifications for newer versions of other boards platforms and libraries that you do want to keep updated.
So make sure to periodically check for newer versions of your other installed platforms in Boards Manager (Tools > Board > Boards Manager) and your other installed libraries in Library Manager (Sketch > Include Library > Manage Libraries...).
Rebuild esptool
The reason the esptool installed with the ESP32 boards platform is not compatible with older versions of macOS is because it was built on a machine that is running the newer macOS version. This means that if you manually build esptool on your own computer then that build will be compatible with your macOS version. You can then replace the esptool executable that was installed with the platform with your own compatible build.
The advantage of this workaround over the alternative of rolling back to the older ESP32 platform version is it allows you to use the latest version of the ESP32 boards platform which contains fixes and improvements and expanded capabilities compared to older versions.
This is an advanced endeavor, but if you are interested in giving it a try, there are instructions for doing so here: