That's not unethical. What's unethical is not fighting climate change in a global model to not let our children deal with it.
It's just like having a child while having a gambling addiction. Keep gambling and make that child live in poverty? That's bad. Stop gambling and provide for your child? It's fine