Khloe Kardashian's "confidence was shot" before she turned 40 but now feels as if everything is "perfect" in her life.