I knew I was going to get hurt and I did it anyway. Why do we do things that hurt us? Why do we love what is evenly going to hurt us? Why?

God why do we?
I knew I was going to get hurt and I did it anyway. Why do we do things that hurt us? Why do we love what is evenly going to hurt us? Why?