am I a bad person?

This was so many years ago, but I dated this guy in the 7th grade and in a couple of months later my friend came out to me and asked me out and I said yes. I know it sounds bad! But I had no idea how dating worked at all, and I thought you could just date close friends and people you found attractive whenever you want! Yes....... I actually thought it 😅 
Obviously I do not anymore! But even though it was in middle school, I still feel bad for doing that to him since I've been so against cheating and I've just been feeling like such a horrible person