There's no guarantee that the price will move in the same direction as the hash rate.
But you're of course right that the incentive to create an attack like a double spend (you pay for something with btc, then fork the blockchain using hashpower, you change history so that your spend is 'cancelled', then you have the thing and still have the btc) increases as the purchasing power of btc increases.