Is there a fallacy here?

argument: someone believes that god is evil, but when presented with evidence that god is good, he denies it, for example, this person denies the existence of heaven, but still believes that god is evil

In short, this person chooses the information he needs during the debate, and rejects the information that does not agree with his opinion that "God is evil".

If I explain more, if a baby dies, he says that God is evil, but when religion says that this child will go directly to heaven because he died when he was a baby, this person says, "I don't believe in heaven."