SEO essentially is a way to tell Google that a website or web page is about a particular topic.Google algorithm would think that the more keywords that were written, the more important the page should be.
Google rarely gives any indication of the changes in its algorithms unless they are major.
Once Google realized this, they altered their algorithm to penalize sites that stuff their pages with keywords, as well as many other “black hat” SEO practices.