There is no “idea” or blueprint of a hive. No ant works or dies “for the hive” No ant is sentient though there is a localized being with some flexibility of response. Scientists have observed a range of “personality” types or at least behavioral types. Some ants are lazy. Some are even by ant standards, dumb. No ant thinks of the past or future.
In 100 million years no ant has ever imagined or thought of a hive. There is no hive except through the combined actions of essentially unconscious operators. And yet, operational responses to various situations flow naturally with seemingly coordinated group efforts to collect food, care for larva, fight off enemies and rebuild walls. What the hell is the model in the brain of a worker ant rebuilding a broken wall that says: “OK, I’m done.” ?
The hive is the emergent whole of its tiny individual parts. It doesn’t exist without them and they don’t exist without it.
What are you a tiny constituent of? What emerges from variations of YOU multiplied a million times? Can you see it? Can you think of it?