OK. You'll be given the following question. Please do chain-of-thought reasoning.
Pick which sentence is not logical.
Options:
- Sentence A: "the city wall was built to defend against enemy"
- Sentence B: "the city wall was built only for beauty"

Walls are typically built for the purpose of keeping something out or keeping something contained.
Thus, the answer is Sentence B.