Allah Ta‘ala says that He has created a spouse and a wife for man so that he will gain tranquility. However, to get the desired results of anything you will have to follow the required system. If a student did not study and then failed, he cannot complain about not passing, for he did not follow the correct procedure. Someone is driving at 200 km per hour and then decides to take a 180 degree turn, he will definitely meet in an accident. If he followed proper procedures then he would have saved himself from harm. Similarly, a wife has to be treated correctly in order for her to become the means of obtaining tranquility and peace in one's nikah.
Source: Al-Haadi