No, but I believe that if homo sapiens had evolved at any time during the mesozoic era its unlikely any form of significant organized communal society would have developed. We would not become the top species on earth; just another species stuck in the natural cycle of survival.
If you were living on an island without the benefit of 10,000 years of technological progress and a whole bunch of t-rex got teleported onto that island, absolutely.
The point isnt that intelligence brings technological benefits, its that those benefits are long term and you dont get to realise them without some relief from immediate threats.
We were hunting but not predators, unless you consider animals like mammoth variations of bisons predators. No prehistoric human would choose ie sabertooth tiger as prey, unless death from starvation otherwise would be guaranteed.
Critically, I don't personally feel that a Yes or No answer to this question is relevant to the bigger picture. Maybe a group of 20 humans could take down a T-Rex. In a week, a T-Rex is going to wipe out their neighboring tribe. The point is that humans are unlikely to go on to form Babylon in such a cutthroat, wild world. Its just survival. Humanity's dominance of the world is not based on our ability to kill one T-Rex, or one Tiger; its based on our ability to leverage technology to terraform the world to our whims. But technology is fundamentally much more fragile than it might seem; we cannot even know how many diverse kinds of technologies have been lost over our million year history, because the wrong tribe died or illness struck or whatever. Our modern world is less fragile, but still extremely fragile, and its unclear where humanity's pecking order in the hierarchy would be if we lost much of what we've built.
One species that definitely is NOT fragile, though: Birds. Two hundred million years and going stronger than ever. Most dinosaur species survived for ~3-20 million years, and dinosaurs as a whole reigned for hundreds of millions of years. When you zoom out, its hard indeed to make an argument that technology really makes much of a difference at all in the pecking order. We certainly are not seeing many advanced civilizations leveraging technology to astroform the galaxy to their needs like we terraform the earth, the existence of which might be a good indication that technology is a valuable component of durable species survival.
We can make short work of anything only by our capability to coordinate in big numbers. Get a group of 20-30 and arm them with spears and bows and rope and the t-rexs are all dead in a weekend.
The question is "Would intelligence overcome the evolutionary pressure of the apex predators", it's not about actively killing the predator, it's about recognizing the danger, avoiding if needed, and developing better tool to overcome the disadvantage in strength. That's intelligence.