My panel had those 4 holes that were for future ground bars on each side. If it did not have those holes and I added a ground bar then I would have had to connect with a wire? The enclosure I don’t think would have been thick enough to get enough threads in.
These debates can muddy up the original question. Let me see if I can clarify this discussion for you a tiny bit...
If this is the first point of disconnect (i.e. the main panel and not a sub panel),
the answer to the question...
"Do you have to connect (1) the 'Ground Bar' (more precisely referred to as the 'EGC Bus' or 'Equipment Grounding Conductor Bus') to (2) The Main System Neutral (more precisely referred to as the 'Ungrounded Conductor')"....
is YES.
This is how you clear a ground fault. A fault current flows on the green Equipment Grounding Conductor back to the system neutral... allowing the circuit to pull a large amount of current and trip the circuit breaker.
What we are debating is whether or not the connection between (1) the 'Ground Bar' and (2) The Main System Neutral or 'Ungrounded Conductor' can be done by just tightening that green screw on the neutral bus (which you may or may not have available depending on the type of panel). This green screw connects to the neutral bus to the enclosure and the enclosure is connected to the ground bar.
Most people just tighten the green screw and they are done. I myself have done it this way for years. If you don't have this green screw, you need a wire-type connection sized according to Table 250.102(C)(1).
It's just in the last 5 or so years I've started reading the code for myself, as opposed to just taking direction from others, and am arguing that perhaps the panel connection may not be acceptable... but I admit I could be wrong.
Either way. If this is a main panel, you need that connection... either via the enclosure or via a wire type jumper.