@JGoldman10,
You are perhaps speaking of the old testament, probably in Psalms with David and his prayers. David was a hunted man by Saul and his son. Even so, since he was a warring King, he couldn't be the one to build the temple. Moreover, we are now in these times of the NT. (thank goodness)
I would not want to pray for anyone's death, I wouldn't want that responsibility or guilt on my conscience. In any case, I think you interpret the scripture wrong.