If you don’t want a child, don’t impregnate or don’t allow impregnation.
Once you do, obviously you are responsible for a human life. There is no myth in the world that can make this go away.
Don’t take this personally if you have faced this. Mistakes happen. The art of mistakes is to recognize them for what they are and move on. The Spirit is always ready to forgive.
Avoiding impregnation is not really very difficult. Many ways of avoiding it. Best is abstinence. Sex is for procreation and there are so many more beneficial uses for sexual energy than blowing it away in orgasm.