1.8 tft 128*160 lcd error

Secondly. Always run the library examples.

Adafruit_ST7735 library was designed for AVR / ARM. But it should work with ESP32.

TFT_eSPI library was specifically designed for ESP8266, ESP32. And has some ready-made User_Setup files. Just connect wires according to the User_Setup.

There is no quick fix. You just have to follow the suggested wiring and check carefully. I advise adding the "wire color" as a comment to each define.
Make notes on paper as you go. Then you can write something more convincing than "we have tried the above mentioned"

Once you have the library examples working we can show how to display pictures.

David.