The rabbis opposed drafting women into the army or even “national service”. Yes, if she goes to work, too, she will be under the authority of a male boss, and surrounded by male co-workers. But she is there under the auspices of her father.
The authority of the state competes with that of the girl’s father.