Section 497 is based on Old Testament values. It doesn't protect the rights of women, only protects the proprietorial rights of men over their wives' bodies.