Am I stupid for drinking beer (500 ml) after a good workout?

So i had a good shoulder workout the other day. I drank a load of milk after. I came home and ate. After that i was still thitsty because its very hot now. I opened the fridge and saw a cold one i had bought earlier i ususally dont drink on the days i workout, but it was just too tempting. I tought fuck it and drank it.
I tought i should wait and drink some water before bed but i kinda fell asleep.
Next morning i was maybe slightly dehydrated, and i have a bit shoulder pain ( the good kind of pain, i always have a bit soreness after shoulder workout.)
So is it too bad? What do you experts think?
Am I stupid for drinking beer (500 ml) after a good workout?
Post Opinion