Men wrote the scriptures saying that women should grieve forever once they are dead. For themselves there is no such rule. They would not have put anything in the scriptures that would cause them a disadvantage!
The scriptures of any religion, culture or country can be written by very intelligent people of old times and we can see them as great literature but they should not be taught to children as ideals of how to behave though. They are fiction and many of them are full of blood and violence, creating an illusion for children that this behavior could be religious and good.
Scriptures were written by normal men. It was their experience but your experience can be very different. With time everything changes. If your experience is different than from what the Bible or the Gita tells you, why don’t you believe in yourself? Why don’t you trust your experience?