Nobles fought each other over land and wealth and territory. They needed knights to fight wars for them so they would give them land and pay them to fight for them and be a member of their smaller region. Had there been no knights, no wars would've been fought because the nobles themselves didn't fight very often.