Some people see everything from the perspective of the "survival of the fittest". Seeing everything through the lenses of competition, domination, opportunism and a "winner takes all" mentality.
However, when you see opportunism at scale, you understand it doesn't work. In a society based on opportunism, you will not feel safe, and you won't be able to trust others. You will not want to spend money making your property look better, because as soon as your property looks better than the rest, it will be robbed. You will not want to spend money on nice clothes, because as soon as you look too fancy you will be mugged. If you decide to be honest and have a job, some random guy will appear each month and ask you for a large portion of your salary. Nobody will care about others, so public spaces will be dirty and lack maintenance. And that will drive off investment and tourism, making everyone poor. Would you like to live in a place like that? No.
How do societies arrive to the situation described above? By making everyone believe they're better than average, and that they're entitled to everything without ever giving back anything. A lack of humility.
Collaboration is necessary, period. No matter how much people try to convince you that collaboration is for losers... it's not. If everyone does their part in our society, everyone can enjoy the rewards. Clean public spaces, a culture of respect, safety and prosperity.
And that translates to the workplace as well. If everyone is nice, respectful, helpful and altruistic (while still making each other accountable), everyone will have a better time, everyone will be more productive and, unless your CEO is a jerk that takes all the rewards for themselves, everyone will be better off.
And that translates to engineering as well. Work as a team, support each other, treat each other with respect, don't leave tech debt behind, don't try to game the system. Create a culture of merit.