william wallace had made the mistake of gambling all at the battle of falkirk sixteen years earlier against edward the first , where his pikemen were put on the defensive before being cut down by volleys of arrows .