There are a lots of husband who makes their wife pregnant but during pregnancy they don’t even look at their wife. They don’t take care of their wives. I just asked Allah to make those women divorce their husband. It’s been a year i asked this wish. But now i feel guilty for wishing someone's divorce. Will Allah ever forgive me?
It is a critical issue of the Muslim society that they don't realize the meaning of Nikah and the rights of husbands and wives. The husband should take care of his wife, either the wife is pregnant or not. Now coming to your question about forgiving the sin, if a Momin commits any sin and then regret himself about his sin, then he should make Taubah and promise to Allah that he will not repeat the mistake in the future. In Sha Allah.