Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

Zephaniah 1:5

and them that worship the host of heaven upon the house-tops; and them that worship and swear by the Lord, and them that swear by their king;

Read in other translations