Is this the best way to get rid of moth in the house?

I read some moth can lay hundreds of eggs so instead of trying to destroy hundreds of eggs every time you see moth in the house, it’s better you clean your home so often that the moth starve to death due to having nothing to eat, because there is no finger nail dirt on your table or left over crumbs from breakfast in bed meals etc… Do you agree?

Is this the best way to get rid of moth in the house?
Post Opinion