Actually, don’t beat yourself up because a big part of this is how nature designed us to procreate. When we are young we are extremely vulnerable to how our bodies react to hormones and pheromones. Truth is we can and do get addicted and can experience jealousy just so we mate and procreate.
So you were not stupid, instead you were human.