That is utilitarianism. Something Kant argued against.I find it difficult to believe you have ever read Kant, Hummer.
But of course the concept of the "Greater Good" is not as you claim. In fact @Cypress is in line with Kant on this, as his "white lie" would create the greatest good for the greatest number of people.