I want a sandwich.
I believe that if I go into the kitchen, get some bread and cheese from the fridge, I will end up with a sandwich.
Does this go against God?
Does believing that I'll end up with a sandwich mean I'll end up with a sandwich?
Maybe I'm run out of bread. Maybe I'd die of a heart attack on the way to the kitchen. Maybe I'll actually ...
No, rather it is encouraged to consider attractiveness among the other criteria. This is precisely why Islam recommends one to have a look at their spouse before marriage.
إذا خطب أحدكم المرأة فإن استطاع أن ينظر إلى ما يدعوه إلى نكاحها فليفعل
When one of you asked a woman in marriage, if he is able to look at what will induce him to marry her, he should do ...
There is no issue Islamically to have beauty as a criteria but don't make it the deciding/major factor in your consideration, as beauty doesn't last that long, and sooner or later, you'll get used to it and what remains are her personality, morals, and behavior; and that is what matters the most for a healthy and stable relationship. And most importantly, ...