If you buy a guitar, buy a really expensive one.
The logic is that if you invest a lot of money into something, you'll want to be dedicated because otherwise it's a massive waste. I bought a cheap electric guitar and gave up early, and I almost never played with the several acoustic guitars I've had.