Use Arduino IDE
make sure XIAO ESP32S3 (not any other dev board) is selected as board, before during and after upload
The LED_Builtin pin changes on different boards, you could try hard coding the pin into your sketch
Once you successfully upload a sketch, even Basic/Bareminimum it should try to hold the selected board