He was talking about number theory specifically, not mathematics in general—in the first sentence you quoted he admitted it can be useful. (I doubt advanced number theory would have been that practically useful before the mid-20th century.)
He was talking about number theory specifically, not mathematics in general—in the first sentence you quoted he admitted it can be useful. (I doubt advanced number theory would have been that practically useful before the mid-20th century.)