Maryam • EN-TAFSIR-IBN-ABBAS
﴿ وَٱتَّخَذُوا۟ مِن دُونِ ٱللَّهِ ءَالِهَةًۭ لِّيَكُونُوا۟ لَهُمْ عِزًّۭا ﴾
“For [such as] these have taken to worshipping deities other than God, hoping that they would be a [source of] strength for them.”
(And they have chosen (other)) the people of Mecca worshipped (gods beside Allah) i.e. idols (that they may be a power for them) that they be a protection for them from Allah's chastisement.