Question: where does the bible talk about spilling your seed?
Answer: Genesis 38:9 tells the story of Onan who spilled his seed on the floor, so he would have a child. God killed him as a result. It literally means to ejaculate outside of a uterus for the sole purpose of not impregnanting a woman.