This might feel logical but i find it counter intuitive. I've seen people suggest to new guitar player to just buy a cheap one just to see how you feel then invest in a good one.
Yet a bad guitar will turn off a lot of people who would have kept playing if they had a better quality instrument.
Counterpoint - I know plenty of people who go out and buy an expensive guitar (or camera, or bicycle, or <name your hobby equipment>) and it sits around when they discover they don't want to put the time into it.
My advice to the OP is to buy something used at a decent price. Chances are that if you don't like it after a month or so, you can sell it for close to what you paid. And if you like it so much after a month or two that you want to upgrade, you can sell it for close to what you paid.
Yet a bad guitar will turn off a lot of people who would have kept playing if they had a better quality instrument.