There is a challenging question in my Islamic textbook, that is which one is better: woman that doesn't wear hijab but her behavior is better or woman that wear hijab but her behavior is questionable (not good/worse)? Any answers?
Assuming that the questionable behavior is against Islam's teaching (ruling), neither is better in the sense that both are doing something against Islam's teaching.
According to Quran Al-Baqarah: 208, we should enter Islam completely as each individual possibly could (Quran Al-Baqarah:286). Going from that, as long as they aren't engaging in polytheistic activities, both still have areas to learn and be better.
In order to respond to your noteworthy/significant inquiry, I ought to remark that:
Firstly, we should pay heed that each side has its positive and negative effects based on Allah's orders.
Secondly, I strongly believe that the root of such matters (I don't accuse all of them, but I assume many of them) can be archly/wicked, what do I mean?
I mean, setting forth for such discussions (based on strict but feasible aspect) might be in order to strive to encourage less-insightful women to have less attention to the obligatory/significant issue of Hijab (hidden/indirect effect of such issues can be so! to pretend as if you can be a good person without Hijab...! But we must be very precise regarding such important matter.)
Thirdly, it cannot comparable, since each of them are mandatory/significant in their positions. For example, we cannot ask: Which of the following cellphone is better:
1: A cellphone which almost has every good programs such as: Camera, flashlight, ability of sending SMS, etc., but doesn't have internet explore (to use internet)
2: A cellphone which doesn't have camera, flashlight, the ability of sending SMS, etc., but it has internet.
Consequently, in practice/reality, we cannot easily recognize which one is better, since all of them are necessary/helpful from diverse angles, and each of them has its specific profitability/necessity. Hence, the very important issue/fact is that we ought to be so careful and don't be deceived of ...
But, if I compulsory have to choose one of them, based on my knowledge/perception:
Although not having nice behavior can be Haram or Makruh (it is better to abandon) and Islam have emphasis on having good behavior, but having hijab is an essential obligatory based on Islam and actually leaving it is considered as a haram act whose effect is equaled to having much torture in the hell ... (and even it can be the start of other sins, too) Then, it can be concluded that being with hijab (even in that comparison) is seemed to be a priority than the other theory.
Note: presumably what I remarked could be more understandable/acceptable from the ones who follows Islam and have more obedience in comparison to the ones who occasionally take more attention to their own reasons rather than Allah/Islam orders/doctrine/concepts.