You don't have to write a thesis statement in every essay you write. However, if you are asked to write exactly an argument essay, then the thesis is necessary. However, with other types of texts, this is not necessary, for example, if you are writing a review or a report. If you are not sure whether to write a thesis, it is better to check with your professor.