Just split up with my boyfriend 🤧

Okay so I am the type of person in a relationship to wanna have a bit of freedom and talk to other people. I am 15 and have had a boyfriend for nearly 2 years. But I went on holiday and I talked to this boy and my boyfriend didn’t like it. I felt really trapped and controlled and couldn’t understand why I can’t even talk to another boy. I can have friends right? I just don’t get it. On top of that we always have petty arguments and every now and again a big argument. It’s getting to the point where I am unhappy with our relationship as there are so many problems. Today I told him it was over and he was devastated. He cried all day and now is saying to me he can’t live without me and wants to kill himself but I keep telling him he can overcome it and he will. I’m trying to stay strong because I don’t wanna change my mind and make a mistake. Do you guys think I made the right decision?