For according to the number of thy cities were thy gods, O Judah,.... See Gill on "Jer 2:28",and according to the number of the streets of Jerusalem; of which there were many, and some of note :have ye set up altars to that shameful thing, even altars to burn incense unto Baal; one of whose names is Bosheth, "shame"; see Ho 9:10, hence Jerubbaal is called, in 2Sa 11:21, Jerubbesheth; very properly is this name given to Baal, not only because the worship of him was to the reproach of the true God, but brought shame and confusion in the issue to its worshipper; as well as because shameful things were done in the worship of it, especially of Baalpeor; who seems to be the same with the Priapus of other nations.
Vid. Lightfoot, Chorograph. Cent. ad Matt. p.