Another way to say "hanging out at the bar is for having fun" is "Some people have fun hanging out at a bar."