Hone here literally said "Oxygen isotope evidence for semi-aquatic habits among spinosaurid theropods".
And i mean, what else was it gonna do during a dry season? Of course it was gonna spend time on land, i think everyone here agress Spinosaurus wasn't a giant dino seal.