now giving himself up for lost beleg lay with his back to a mighty tree and listened to the wind in the gaunt tops of the forest many fathoms above him , and the moaning of the night airs and the creaking of the branches was full of sorrow and foreboding , and his heart became utterly weary .