then ar-pharazon , being besotted , and walking under the shadow of death , for his span was drawing towards its end , hearkened to sauron ; and he began to ponder in his heart how he might make war upon the valar .