Did I handle this wrong ?

I took my toddler (3) to the library today and he was going a craft. It was a group of parents and kids. He started acting up and acting crazy with the scissors and chopping his project and I calmly told him he needed to stop and showed him how to do it. He got mad and started throwing his papers on the floor. I told him he needed to pick them up and if he didn't listen he would have to leave. He started whining and grabbing at the scissors again so I picked up his things and told him we are leaving. He started screaming and I picked him up and left. As I was leaving a few parents and grandparents near the door started saying 'awh poor thing mean mommy making you leave '. I was stunned. I just kept walking because it was extremely embarrassing. I hear them talking about us as we left.

As I wrong ? How should I have handled it ? I feel like I never do anything right people always talk shit and I can't understand what I'm doing wrong. This has happened before when I was out in public and he was crying and being bratty about not getting a really expensive toy so I told him if he didn't behave he would t get any and he kept acting like a brat so he didn't get it and people looked at me like I was a monster when i left the store.