A person did a major sin. Then he felt bad and repented. After some months of repentance , he felt safe from the punishment of Allah (by hoping the Mercy of Allah عز وجل ) and lead a happy life . Then again , he returned back to the same sin that he used to do before. This happens alternatively. What is the solution for this issue ?