You have to have money to buy something.
Pick which sentence is not logical.
1. "he had no money, so he couldn't buy the ice cream he wanted to eat"
2. "he had no money, so he bought the ice cream he wanted to eat"