I don't think you understand either verses. Zech 13:7 is about Israel during the great tribulation.
Zechariah 13:7-9
7 Awake, O sword, against my shepherd,
against the man who stands next to me,
declares the Lord of hosts.
Strike the shepherd, and the sheep will be scattered...