It looks very plausible that stretching before you exercise doesn’t do much for you. Multiple older surveys suggested this.
Annoyingly, the studies linked in the previous paragraph are 2 decades old, and somehow I can’t find a large, well controlled, trial.
Being more flexible helps to a point, depending on the activity. Being too flexible is a thing, if your body doesn’t have the strength to handle the new range of motion. Strength is VERY important to control what your body is doing. Being able to move a bunch of places without control is bad. Conversely, having the strength to move a body part without the flexibility to move it can also be bad.
As with nearly everything in life, balance is key.
Yeah, it’s all about various systems being balanced. Some people who have muscle pain try to ease it through stretching that muscle, but that can actually make things worse if the underlying problem is that the muscles that act in opposition to the painful muscle are too weak.