Sure Al-Hajj

22:37

لَن يَنَالَ ٱللَّهَ لُحُومُهَا وَلَا دِمَآؤُهَا وَلَٰكِن يَنَالُهُ ٱلتَّقْوَىٰ مِنكُمْ ۚ كَذَٰلِكَ سَخَّرَهَا لَكُمْ لِتُكَبِّرُوا۟ ٱللَّهَ عَلَىٰ مَا هَدَىٰكُمْ ۗ وَبَشِّرِ ٱلْمُحْسِنِينَ

Weder ihr Fleisch noch ihr Blut werden Allah erreichen, aber Ihn erreicht die Gottesfurcht von euch. So hat Er sie euch dienstbar gemacht, damit ihr Allah als den Größten preist, daß Er euch rechtgeleitet hat. Und verkünde frohe Botschaft den Gutes Tuenden.

Tafsir 22:37

Neither does the meat of the sacrificial animals you present nor their blood ever reach Allah, nor is it raised towards Him, but rather your mindfulness of Allah therein is raised towards Him, through your being sincere to Him in your obedience to seek closeness to Him through it. In that way, Allah made them submissive to you, so that you proclaim Allah’s greatness, thanking Him for the truth He has guided you to. O Messenger, inform those who are excellent in worshipping their Lord and in dealing with His creation what will make them happy.