That never works, you are what you are, you can lie to yourself and hurt countless women in the process but you will always be who and what you are. And if you do this you could end up with a child you arent prepared to have and may not want.
Most people who join the military are people who live and grew up in poverty. The military is seen as a way out of poverty but its complicated, many people who serve end up with severe psychological trauma that the military refuses to own up to, so they dont receive adequate medical attention...