Well, from a certain point of view, all altruism is self-serving. The fact that they knew an alliance would help them later on for a fact isn't that different from embarking on any other partnership. The human mentality is certainly capable of elevating hope to where it can stand side-by-side with fact.