My Mom spanked me bare bottom for staying up past my bedtime for the 3rd time in a week. 10pm on school nights and 12am on weekends. Was this ok?

My Mom had caught me staying up past my 10:00 PM bedtime 3 times in a week. She let me off the first 2 times, but after the 3rd time when she caught me on my phone in my room when I was supposed to be asleep with the lights out she said “Ok, that’s it. This is the 3rd time this week you disobeyed me, now your being spanked. She sat down on my bed and told me to take off my pants and underwear. I knew I had to do what she said. So, I did. She spanked me bare bottom until my bottom was rosy red. Afterwards she knew I was in pain so she applied some ponds cold cream cleanser to alleviate the pain. I was also grounded for 2 weeks as punishment for disobeying my Mom after having 2 chances before. I just finished my punishment a day ago and just was wondering what anyone else thought. It was painful and embarrassing for me but my mom did give me many chances to obey her. Do you think this was an ok way to punish me and that she was justified?
My Mom spanked me bare bottom for staying up past my bedtime for the 3rd time in a week. 10pm on school nights and 12am on weekends. Was this ok?
Post Opinion