Is it wrong for a guy to go to a bar while in a relationship?

My boyfriend would sometimes go to bars with his guy friends and he would tell me and text me that he’s not drinking while he’s there. Last weekend he told me he went to his homies house and didn’t feel good after for a few days. He didn’t tell me why or how he got it but he took a COVID test and it came out negative (well that’s what he told me) I think he was doing a little drinking. I went to bed early because I worked the next day so I wasn’t able to text him while he was there. Do you think it’s not right though to drink/ go to bars while in a relationship?
Is it wrong for a guy to go to a bar while in a relationship?
Post Opinion