I'm not a golfer, never been a fan. However it makes no sense how two people can walk around a golf course, but if the clubs come out then that's illegal.
Same for tennis and all sorts of sports.
The benefits of these outdoor activities done safely outweigh the risks.