Is it wrong for a Christian to go to a Catholic dance?

Emily

Today, I went with my boyfriend to a catholic dance and I just watched from a distance. I didn’t go and eat the food, I didn’t participate in any way, all I did was watch from a distance. And when I came home, my mom was crying and she says it’s a sin and a betrayal to God. But I don’t know. And when I went into my room, I asked God for forgiveness just in case if I did something wrong. So was it wrong for me to go?