This is the whole halacha and the line before you started tells the exact opposite)
http://www.chabad.org/library/article_cdo/aid/952887/jewish/Chapter-Thirteen.htmIn a place where it is customary for a woman not to go out to the market place wearing merely a cap on her head, but also a veil that covers her entire body like a cloak, her husband must provide at least the least expensive type of veil for her. If he is wealthy, [he must provide her with a veil whose quality] is commensurate with his wealth.
[He must give her this veil] so that she can visit her father's home, a house of mourning or a wedding celebration. For every woman should be given the opportunity to visit her father and to go to a house of mourning or a wedding celebration as an expression of kindness to her friends and relatives, for [this will have a reciprocal effect], and they will return the visits.
For a woman [at home] is not confined in a jail, from which she cannot come and go.Nevertheless, it is uncouth for a woman always to leave home - this time to go out and another time to go on the street. Indeed, a husband should prevent a wife from doing this and not allow her to go out more than once or twice a month, as is necessary.15 For there is nothing more attractive for a woman than to sit in the corner of her home, as [implied by Psalms 45:14]: "All the glory of the king's daughter is within."