but their spirits sank at his grave words , and they all felt that the adventure was far more dangerous than they had thought , while all the time , even if they passed all the perils of the road , the dragon was waiting at the end .