Islam promotes modesty and decency and seeks to minimise immorality within society. The Hijab, amongst other things, helps attain this goal.