Batman could've beaten JESUS in a fight before, and it'll have no pertinence to this particular nerdy hypotheticality
Batman and Spiderman are both EXCEPTIONALLY smart. Batman has the money by himself to build gadgets and what not, and Spidey has the help of MANY rich superheroes/superhero groups behind him, like the Fantastic Four, to front him money to build gadgets. Batman is a better fighter than Spidey, but Spidey is stronger, faster, and FAR more agile. Batman is stealthier, but the Spider-Sense nullifies stealth attempt by alerting him before the "trap" is sprung. Spider-man is no slouch stealth-wise, either.
Both have faced incredible odds, beaten ridiculous people, and fought best with the best. Both will do whatever it takes to win. But physically, Spiderman CANNOT BE DEFEATED by Batman. Not in a fight. Not anywhere. Not in Gotham. Not in NY. Not in Taiwan. Not in ATOT. Never. EVAR.
Maybe if Batman and Spidey were in a detective contest...
