The following is a section from Jonathan Edwards that deals with those who create a God of their own mind, and the hostility they display when the true God is revealed. In fact, he calls it a rejection of God entire.
If you think that there is a God, yet you do not realize it, that he is such a God as he really is. You do not realize it, that he is so holy as he is; that he has such a hatred of sin as indeed he has; that he is so just a God as he is, who will by no means clear the guilty. But that in the Psalms is applicable to you: “these things hast thou done, and I kept silence: thou thoughtest that I was altogether such an one as thyself.” Psalm 1. 21. So that your atheism appears in this, as well as in thinking there is no God. So that your objection arises from this, that you do not find such a sensible hatred against that god which you have formed, to suit yourself; a god that you like better than the true God. But this is no argument that you have not bitter enmity against the true God; for it was your enmity against the true God, and your not liking him, that has put you upon forming up another in your imagination, that you like better. It is your enmity against those attributes of God’s holiness and justice, and the like, that has put you upon conceiting another, who is not so holy as he is, and does not hate sin so much, and will not be so strictly just in punishing it; and whose wrath against sin is not so terrible.
But if you were sensible of the vanity of your own conceits, and that God was not such an one as you have imagined; but that he is, as he is indeed, an infinitely holy, just, sin hating and sin revenging God, who will not tolerate nor endure the worship of idols, you would be much more liable to feel the sensible exercises of enmity against him, than you are now. And this experience confirms. For we see that when men come to be under convictions, and to be made sensible that God is not as they have heretofore imagined; but that he is such a jealous, sin hating God, and whose wrath against sin is so dreadful, they are much more apt to have sensible exercises of enmity against him than before.
Your having always been taught that God is infinitely above you, and out of your reach, has prevented your enmity” being exercised in those ways, that otherwise it would have been. And hence your enmity has not been exercised in revengeful thoughts; because revenge has never found any room here; it has never found any handle to take hold of: there has been no conception of any such thing, and hence it has lain still. A serpent will not bite, or spit poison, at that which it sees at a great distance; which if it saw near, would do it immediately. Opportunity often shows what men are, whether friends or enemies. Opportunity to do puts men in mind of doing; wakens up such principles as lay dormant before. Opportunity stirs up desire to do, where there was before a disposition, that without opportunity would have lain still. If a man has had an old grudge against another, and has a fair opportunity to be revenged, this will revive his malice, and waken up a desire of revenge. [source]