Although it depends on the make and manufacturer, golf pencil bags tend not to be fully waterproof, although you can still find a range of water resistance pencil bags that will protect your golf clubs and equipment from the rain for a long time.
Because golf pencil bags tend to be used more for quick evening rounds (like 9-hole games) or for taking selected clubs to the driving range, there’s less need to make them completely waterproof.