Social Drinking??

if we dont do 5 times prayers, we are not harming anyone either, but not doing salat is still haram ...

what haraam has to do with harming someone or not .. weird logic