Is it ok to have doubts in a relationship

Is it ok to have doubts in a relationship ? My boyfriend just told me that he has doubts about our relationship sometimes and honestly that kinda hurted my feelings ☹️because I don’t have doubts about him and honestly I can’t see myself being with anyone else but him .