According to Quran when Allah called Moses in heavens to give him the scripture, his people started worshipping a calf.
2:51 And [recall] when We made an appointment with Moses for forty nights. Then you took [for worship] the calf after him, while you were wrongdoers.
When Moses returned to earth Allah commanded people of Moses to kill each other (those who did not worship the calf killed those who worshipped it).
2:54 And [recall] when Moses said to his people, “O my people, indeed you have wronged yourselves by your taking of the calf [for worship]. So repent to your Creator and kill yourselves. That is best for [all of] you in the sight of your Creator.” Then He accepted your repentance; indeed, He is the Accepting of repentance, the Merciful.
Tafseer Ibn Kathir
An-Nasa’i, Ibn Jarir and Ibn Abi Hatim recorded Ibn `Abbas saying, “Allah told the Children of Israel that their repentance would be to slay by the sword every person they meet, be he father or son. They should not care whom they kill. Those were guilty whom Musa and Harun were not aware of their guilt, they admitted their sin and did as they were ordered. So Allah forgave both the killer and the one killed.” This is part of the Hadith about the trials that we will mention in Surat Ta Ha, (20) Allah willing.Ibn Jarir narrated that Ibn `Abbas said, “Musa said to his people, ﴿فَتُوبُواْ إِلَى بَارِئِكُمْ فَاقْتُلُواْ أَنفُسَكُمْ ذَلِكُمْ خَيْرٌ لَّكُمْ عِندَ بَارِئِكُمْ فَتَابَ عَلَيْكُمْ إِنَّهُ هُوَ التَّوَّابُ الرَّحِيمُ﴾ (“So turn in repentance to your Creator and kill each other (the innocent kill the wrongdoers among you), that will be better for you with your Creator.” Then He accepted your repentance. Truly, He is the One Who accepts repentance, the Most Merciful.) Allah ordered Musa to command his people to kill each other. He ordered those who worshipped the calf to sit down and those who did not worship the calf to stand holding knives in their hands. When they started killing them, a great darkness suddenly overcame them. After the darkness lifted, they had killed seventy thousand of them. Those who were killed among them were forgiven, and those who remained alive were also forgiven.”
Tafsir Ibn Abbas
Allah then mentioned the story of Moses with his people, saying: (And when Moses said unto his people: O my people! Ye have wronged yourselves) harmed yourselves (by your choosing of the calf) by worshipping the calf; and when Moses was then asked what to do, he said to them: (so turn in penitence to your Creator), again they asked him how to turn in penitence to Allah, and he said: (and kill (the guilty) among yourselves) let those who did not worship the calf kill those who worshipped it. (That) penitence and killing (will be best for you with your Creator and He will relent towards you) He will forgive you. (Lo! He is the Relenting) towards the penitent, (the Merciful) towards any that die repentant.
And when Moses said to his people, those who worshipped the calf, ‘My people, you have done wrong against yourselves by your taking the [golden] calf, for a god; now turn to your Creator, away from that worship [of the calf] and slay one another, that is, let the innocent of you slay the guilty; That, slaughter, will be better for you in your Creator’s sight’, who made it easier for you to accomplish this and sent down a dark cloud over you, so that none of you was able to see the other and show him mercy, such that almost seventy thousand of you were killed; and He will turn to you [relenting], before your [turning in] repentance; truly He is the Relenting, the Merciful.
How is it different from some Hindu Gods or Goddesses who demanded human blood as sacrifice for blessings ?