So the Bible says; "Thou shall not kill" but in reality the 10 commandments only apply in some circumstances; there are times when it's not a sin to break them? Where does it say this in the bible?
Thou shalt not suffer a witch to live. Exodus 22:18
If a man also lie with mankind, as he lieth with a woman, both of them have committed an abomination: they shall surely be put to death; their blood shall be upon them. -- Lev.20:13
These are two instances, also Kings 10:18-27, Numbers 15:32-36, Judges 14:19, all instances where it is not a sin to kill. I am sure there are many others that I can't name at this moment.
Here are some more...
All who curse their father or mother must be put to death. They are guilty of a capital offense. (Leviticus 20:9 NLT)
A priest's daughter who loses her honor by committing fornication and thereby dishonors her father also, shall be burned to death. (Leviticus 21:9 NAB)
Whoever sacrifices to any god, except the Lord alone, shall be doomed. (Exodus 22:19 NAB)
They entered into a covenant to seek the Lord, the God of their fathers, with all their heart and soul; and everyone who would not seek the Lord, the God of Israel, was to be put to death, whether small or great, whether man or woman. (2 Chronicles 15:12-13 NAB)
If a man still prophesies, his parents, father and mother, shall say to him, "You shall not live, because you have spoken a lie in the name of the Lord." When he prophesies, his parents, father and mother, shall thrust him through. (Zechariah 13:3 NAB)
“When you begin living in the towns the Lord your God is giving you, you may hear that scoundrels among you are leading their fellow citizens astray by saying, ‘Let us go worship other gods’—gods you have not known before. In such cases, you must examine the facts carefully. If you find that the report is true and such a detestable act has been committed among you, you must attack that town and completely destroy all its inhabitants, as well as all the livestock. Then you must pile all the plunder in the middle of the open square and burn it. Burn the entire town as a burnt offering to the Lord your God. That town must remain a ruin forever; it may never be rebuilt. Keep none of the plunder that has been set apart for destruction. Then the Lord will turn from his fierce anger and be merciful to you. He will have compassion on you and make you a large nation, just as he swore to your ancestors.(Deuteronomy 13:12-19 NLT)
But if this charge is true (that she wasn't a virgin on her wedding night), and evidence of the girls virginity is not found, they shall bring the girl to the entrance of her fathers house and there her townsman shall stone her to death, because she committed a crime against Israel by her unchasteness in her father's house. Thus shall you purge the evil from your midst. (Deuteronomy 22:20-21 NAB)
If your own full brother, or your son or daughter, or your beloved wife, or you intimate friend, entices you secretly to serve other gods, whom you and your fathers have not known, gods of any other nations, near at hand or far away, from one end of the earth to the other: do not yield to him or listen to him, nor look with pity upon him, to spare or shield him, but kill him. Your hand shall be the first raised to slay him; the rest of the people shall join in with you. You shall stone him to death, because he sought to lead you astray from the Lord, your God, who brought you out of the land of Egypt, that place of slavery. And all Israel, hearing of this, shall fear and never do such evil as this in your midst. (Deuteronomy 13:7-12 NAB)
Suppose a man or woman among you, in one of your towns that the LORD your God is giving you, has done evil in the sight of the LORD your God and has violated the covenant by serving other gods or by worshiping the sun, the moon, or any of the forces of heaven, which I have strictly forbidden. When you hear about it, investigate the matter thoroughly. If it is true that this detestable thing has been done in Israel, then that man or woman must be taken to the gates of the town and stoned to death. (Deuteronomy 17:2-5 NLT)
One day a man who had an Israelite mother and an Egyptian father got into a fight with one of the Israelite men. During the fight, this son of an Israelite woman blasphemed the LORD's name. So the man was brought to Moses for judgment. His mother's name was Shelomith. She was the daughter of Dibri of the tribe of Dan. They put the man in custody until the LORD's will in the matter should become clear. Then the LORD said to Moses, "Take the blasphemer outside the camp, and tell all those who heard him to lay their hands on his head. Then let the entire community stone him to death. Say to the people of Israel: Those who blaspheme God will suffer the consequences of their guilt and be punished. Anyone who blasphemes the LORD's name must be stoned to death by the whole community of Israel. Any Israelite or foreigner among you who blasphemes the LORD's name will surely die. (Leviticus 24:10-16 NLT)
So God let them go ahead and do whatever shameful things their hearts desired. As a result, they did vile and degrading things with each other's bodies. Instead of believing what they knew was the truth about God, they deliberately chose to believe lies. So they worshiped the things God made but not the Creator himself, who is to be praised forever. Amen. That is why God abandoned them to their shameful desires. Even the women turned against the natural way to have sex and instead indulged in sex with each other. And the men, instead of having normal sexual relationships with women, burned with lust for each other. Men did shameful things with other men and, as a result, suffered within themselves the penalty they so richly deserved. When they refused to acknowledge God, he abandoned them to their evil minds and let them do things that should never be done. Their lives became full of every kind of wickedness, sin, greed, hate, envy, murder, fighting, deception, malicious behavior, and gossip. They are backstabbers, haters of God, insolent, proud, and boastful. They are forever inventing new ways of sinning and are disobedient to their parents. They refuse to understand, break their promises, and are heartless and unforgiving. They are fully aware of God's death penalty for those who do these things, yet they go right ahead and do them anyway. And, worse yet, they encourage others to do them, too. (Romans 1:24-32 NLT)
The LORD then gave these further instructions to Moses: 'Tell the people of Israel to keep my Sabbath day, for the Sabbath is a sign of the covenant between me and you forever. It helps you to remember that I am the LORD, who makes you holy. Yes, keep the Sabbath day, for it is holy. Anyone who desecrates it must die; anyone who works on that day will be cut off from the community. Work six days only, but the seventh day must be a day of total rest.(Exodus 31:12-15 NLT)