Do bacteria have a cell wall or not?

Yes, bacteria are prokaryotic cells (prokaryotes) and this means that they do have a cell wall.