I have a dishwasher (came with the place). I don't like it. I don't think it does a very good job.
I use it as a dish drainer. That is to say, when I hand wash, I open the dishwasher, and I use its racks to air dry my washed dishes. I don't even skip straight to the dry cycle, that's a waste of electricity.
I would not own a dishwasher. I would throw it out if it were up to me and use the space for shelves to store more gear, like my slow cooker, toaster oven, air fryer, stand mixer, etc. when they are not in use.