All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad is His slave and Messenger.
If those are the words which your husband uttered, then they do not include any of the words of divorce, and if he intended by them that he would divorce you, then this is called a promise of divorce, and the promise of divorce does not lead to anything, as we have already clarified in fatwas 89065 and 90318.
He does not break his oath unless you did that same thing on which he swore on you not to do again.
We advise you both to endeavor to keep good marital relations and to aim for understanding if any problem occurs between you. You should not leave any chance for the devil to spoil your marriage, as he is keen one separating loved ones. Jaabir narrated that the Prophet said, “Indeed, Iblees (Satan) places his throne upon water; he then sends out his detachments; the nearest to him in rank are those who are most notorious in creating dissension. One of them comes and says, ‘I did such and such,’ and Iblees says, ‘You have done nothing.’ Then one amongst them comes and says, ‘I did not spare so-and-so until I separated between him and his wife.’ Iblees goes near him and says, ‘You have done well.’” [Muslim]
Allah knows best.