Are men superior to women in His eyes? And if not, then why are men given clear preference in the scriptures?

Also positions like Cardinal and Pope are only available to men, etc