The role of a good collaborator
Your sense of things seems to be correct, but you can't control others. It would be &quot;nice&quot; if they shared more, but it may not happen. So, you need to assure that you aren't exploited, but, beyond that, your example might even serve, over time, to change things.
However, as you build a career and build a circle of collaborators, you can, then, have discussions among yourselves about sharing. Being the sponsor/leader of a research group, for example, gives you some &quot;standing&quot; to influence the rules. Those rules should revolve around authorship among other things.
Generosity is a good thing, but not everyone will contribute. This is especially true in high risk high reward situations, which can, unfortunately be the case in academia.
You are responsible for your own behavior. You have some, but limited, influence over that of others. Setting a good example helps as long as you don't get exploited.