Tubeless will eliminate pinch flats and (assuming you run with sealant) will seal most tread punctures. Slicing the tread or puncturing a sidewall may or may not be something that the sealant can heal. That's the good.
The bad is that tubeless setups aren't invincible. Some punctures can't be sealed and they can also "burp" (where the tire bead breaks its seal with the rim and there is a rapid loss of air and sealant) in some situations, though this is reduced by using tubeless ready rims and tires. And if you do flat running tubeless, fixing it requires more skill/effort than fixing a flat on a clincher. Tubeless flat repair usually means putting in a tube (just like how you'd normally fix a flat). Except now you have a tire that's likely harder to get off/on the rim and the inside is coated with messy latex goo. You have to remove the tire, remove the valve stem, clean up the sealant mess, re-mount the tire with a tube, and air it back up.
If your flat-repair skills are poor enough that a flat now means ending your ride, then by all means tubeless would be better. If you want to ensure that a flat doesn't end your ride, then you should work on your flat repair skills with clinchers until you're proficient enough to have a chance at succeeding in a tubeless repair.