OLED esp32 not displaying code

Hey everyone, im super new, and a friend gave me some stuff including this OLED esp32 board. When I try to run code on it, nothing happens
here is the code im running

#include <Wire.h>
#include “SSD1306.h”

SSD1306 display(0x3c, 21, 22);

void setup() {

display.init();
display.drawString(0, 0, “Hello World”);
display.display();
}

void loop() {}

Here is what was displayed in the console thing

Sketch uses 224165 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 16044 bytes (4%) of dynamic memory, leaving 311636 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM4
Connecting…
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:62:ab:f2:ac:3c
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
Changed.
Configuring flash size…
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47…
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 4369.0 kbit/s)…
Hash of data verified.
Compressed 15856 bytes to 10276…
Wrote 15856 bytes (10276 compressed) at 0x00001000 in 0.2 seconds (effective 778.2 kbit/s)…
Hash of data verified.
Compressed 224288 bytes to 115431…
Wrote 224288 bytes (115431 compressed) at 0x00010000 in 1.9 seconds (effective 952.9 kbit/s)…
Hash of data verified.
Compressed 3072 bytes to 128…
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 1445.7 kbit/s)…
Hash of data verified.

Leaving…
Hard resetting via RTS pin…

thanks for reading!

How do you know that 'SSD1306 display(0x3c, 21, 22);' is specifying the correct parameters for the OLED? Did you look up what it means? There are many different configurations of OLED that are all driven by an SSD1306.

There are also a great many different boards that use the ESP32, are you sure that code is known to be good for your particular board ?.