God calls us to witness for him and to bring others to him. You could be using your faith to teach us, to bring us closer to God. But you chose to belitte and insult. That also requires a good confession. Drawing a wild analogy to make a point is not a cause of sin, unlike say, providing an apologia for birth control.
But hate in your heart, which might be true, I don't know, is a sin.