This question is often asked. The answer is clear in the teachings of Shakyamuni.
Perhaps your question can be divided into the following two parts.
① Is there a difference in the weight of life? If there is one, why?
② (And yet) is life equally important? If it's important, why?
① Answer:
It's a subtle difference, but Shakyamuni doesn't say “there is a difference in the weight of life.” It's a way of saying “there is a difference in the weight of bad work that takes the lives of living things.” (This subtle difference is that ②'s life is equally important? It will lead to.)
Taking the lives of elephants is heavier than bad deeds that take the lives of mosquitoes, and taking human lives rather than elephant lives, bad karma is heavier. Even for the same person, it is heavier to take the lives of people with high virtue than to take the lives of villains. In dry terms, depending on the high “value” of life in the world, strengths and weaknesses occur in the compensation and bad work of stealing it.
② Answer:
that kind of inequality? After knowing, in Buddhism, “If it's a mosquito, you can kill up to ten animals. There are up to two elephants. There is only one bad person. I'm not saying, “People with high virtue must not be killed.” They say, “If it's life, even one mosquito should be treated equally.” The reason is not because life is equally precious. This is because life is equal for everyone, and they desperately protect themselves, saying “I don't want to die, I want to live.” The feelings on the killing side have become extremely black in terms of destroying the fundamental instinctive feeling of not wanting to die as a life of taking away the right to life.
This act of killing, no matter how small, should never be taken lightly. Once you get used to killing mosquitoes, your bad business will continue to “develop” to the extent that you will annihilate all tree bugs with insecticides, completely destroy noisy sparrows with nets, and drive away children in noisy neighborhoods.
Also, people with a heart that violates someone else's right to life will have their right to life threatened themselves. When my life is despised, for the first time, I instinctively want to protect myself, saying that I don't want to die or why I am in this situation, but at that time, I don't realize that I have no right to complain to others. Somehow, I think that I am the only one who has faced an unreasonable situation, and I have to die with regret.
Buddhism says that is the law for life. Therefore, they say that it is better to protect yourself and live while praying for peace in all of your lives, rather than feeling that you are alone, after all, you are also more secure.