The one of the many reason that you are not getting a job and your friend gets one, is because your friend is smart and follow the current trends, and the difference is that you both are applying for a same job but you are applying with a bad CV and your friend with a professional cv.
Because these recruiters and hiring agents are looking for a most close candidate for a particular job, so if you are not getting a job then you should consider to get a professional cv writing services from qualified writers.