The claim is false.
For an example in higher primates, consider chimpanzees who are capable of premeditated murderpremeditated murder for no apparent reason. There are even videos of this.
They murder, they steal, they even wage war for territorial gains.
None of these acts necessarily has any direct benefit. The benefits may either be long-term (territorial warfare) or not apparent at all.