Well, writing quality content would always help a lot, there is no doubt to it, what you need to do is to write with quality and maintain keyword density too, it helps.