Image upload button won't link to database collection

Looks like you are missing the closing braces and parenthesis for the onReady callback, maybe it got deleted somehow.
The following code is your code that I pasted in the onReady callback, you can delete everything and use it:

$w.onReady(function () {
$w('#submit').onClick( () => {
 if ($w("#upload").value.length > 0) {
  // user chose a file     
   console.log(`Uploading '${$w("upload").value[0].name}'`); 
   $w("#upload").startUpload() 
    .then( (uploadedFile) => {
           console.log("Upload successful. File is available here:");
           console.log(uploadedFile.url);
           $w("#Submit-Organizations").setFieldValue("image", uploadedFile.url);
           $w("#Submit-Organizations").save()
            .then( (item) => {
              console.log("Save successful");
              let fieldValue = item.fieldName;
              } )
            .catch( (err) => {
              let errMsg = err; 
              } );
    } )
    .catch( (uploadError) => {
           console.log(`File upload error: ${uploadError.errorCode}`);
           console.log(uploadError.errorDescription);
            } );
  } else {
   // user clicked button but didn't chose a file
        console.log("Please choose a file to upload.");
         }
  } );
});