I have been quilting for almost 60 years and keep several different kinds of glue in my workroom. All used for specific purposes. Just make sure you use an archival safe, washable glue on any quilts that you expect to be heirlooms. Non washable art quilts ... you might not want to use this type of glue.
I use glue sometimes for paper piecing, applique, bindings and many more things (like keeping zippers in place, t shirt hems, buttons, etc.) You do not need a lot, just a bit and make sure it is dry before sewing through it.