22“ ‘When a leader sins unintentionally and does what is forbidden in any of the commands of the Lord his God, when he realizes his guilt 23and the sin he has committed becomes known, he must bring as his offering a male goat without defect.
27“ ‘If any member of the community sins unintentionally and does what is forbidden in any of the Lord’s commands, when they realize their guilt 28and the sin they have committed becomes known, they must bring as their offering for the sin they committed a female goat without defect.
For unintentional sins, the gender of the sacrificial animal depends on the kind of person who committed the sin. For persons who are in the higher echelon, they sacrifice a male. For the common people, they sacrifice a female.
Leviticus 27:1 The Lord said to Moses, 2“Speak to the Israelites and say to them: ‘If anyone makes a special vow to dedicate a person to the Lord by giving the equivalent value, 3set the value of a male between the ages of twenty and sixty at fifty shekels a of silver, according to the sanctuary shekel; 4for a female, set her value at thirty shekels.
Males are valued more than females but both are acceptable as dedicated to the Lord.