Why does Google give SEO advice?

Why Google supports SEO specialists with advice? Google business is to sell text ads / ad space so bad optimized web sites are the target of Google, aren’t they? With giving good SEO advice Google works against its business or it’s not true? borislav123, Plovdiv