The hospital is for getting better when you are sick, not for withdrawing money.
One of the following sentences is nonsensical. Which one is it?

A. "he went to the hospital to withdraw money."
B. "he went to the bank to withdraw money."