Tafsir Ibn Kathir -> Surah An-Nahl -> Among the Behavior of the Idolators was vowing to Things that Allah had provided for Them to their gods

Allah tells us about some of the heinous deeds of those who used to perform baseless worship of other gods besides Him, such as idols and statues, with no grounds for doing so. They gave their idols a share of that which Allah had provided for them,

﴿فَقَالُواْ هَـذَا لِلَّهِ بِزَعْمِهِمْ وَهَـذَا لِشُرَكَآئِنَا فَمَا كَانَ لِشُرَكَآئِهِمْ فَلاَ يَصِلُ إِلَى اللَّهِ وَمَا كَانَ لِلَّهِ فَهُوَ يَصِلُ إِلَى شُرَكَآئِهِمْ سَآءَ مَا يَحْكُمُونَ﴾

(They say: "This is for Allah,'' according to their claim, "and this is for our partners.'' But the share of their "partners'' is not directed to Allah, while the share of Allah is directed to their "partners''! How evil is that with which they judge) (6:136) That is they assigned a share for their idols as well as Allah, but they gave preference to their gods over Him, so Allah swore by His Almighty Self to question them about these lies and fabrications. He will most certainly call them to account for it and give them the unrelenting punishment in the fire of Hell. So He says,

﴿تَاللَّهِ لَتُسْـَلُنَّ عَمَّا كُنْتُمْ تَفْتَرُونَ﴾

(By Allah, you shall certainly be questioned about (all) that you used to fabricate.) Then Allah tells us how they used to regard the angels, who are servants of the Most Merciful, as being female, and that they considered them to be Allah's daughters, and they worshipped them with Him. In all of the above, they made very serious errors. They attributed offspring to Him when He has no offspring, then they assigned Him the kind of offspring they regarded as inferior, namely daughters, which they did not even want for themselves, as He said:

﴿أَلَكُمُ الذَّكَرُ وَلَهُ الاٍّنثَى - تِلْكَ إِذاً قِسْمَةٌ ضِيزَى ﴾

(Are the males for you and the females for Him That is indeed an unfair division!) (53:21-22) And Allah says here:

﴿وَيَجْعَلُونَ لِلَّهِ الْبَنَـتِ سُبْحَانَهُ﴾

(And they assign daughters unto Allah! Glorified (and Exalted) is He.) meaning, above their claims and fabrications.

﴿أَلاَ إِنَّهُم مِّنْ إِفْكِهِمْ لَيَقُولُونَ - وَلَدَ اللَّهُ وَإِنَّهُمْ لَكَـذِبُونَ - أَصْطَفَى الْبَنَاتِ عَلَى الْبَنِينَ مَا لَكُمْ كَيْفَ تَحْكُمُونَ ﴾

(But no! It is from their falsehood that they say: "Allah has begotten.'' They are certainly liars! Has He (then) chosen daughters rather than sons What is the matter with you How do you decide) (37:151-154)

﴿وَلَهُمْ مَّا يَشْتَهُونَ﴾

(And for themselves, what they desire;) meaning they choose the males for themselves, rejecting the daughters that they assign to Allah. Exalted be Allah far above what they say!