does it matter the grades of freshmen year

Yes.

Most colleges take your overall GPA, although they may weight your junior and senior grades more heavily.

Besides if you goof off and get poor grades when you're a freshman, you may not have the knowledge and skills to achieve top grades later.