Is it bad to kill insects?

To me, it seems like doing them a favour. If they're really annoying me i quickly crush them... or if i'm feeling nice i'll thow them out the window.