The company has potential, but the CEO is its biggest drawback.
While he is undeniably smart, he lacks emotional intelligence and fairness. He also tends to gatekeep crucial information, making it difficult to succeed in your role.
If the CEO does not like you, your best bet is to leave as trying to succeed will be a long road of obstacles put in your way.