Here the dataset is biased and the model would learn to hire males more often. Depending on what you want, there are different ways to deal with this.