Like a moth to a flame
Irresistibly and dangerously attracted to something or someone.
The phrase is a simple allusion to the well-known attraction that moths have to bright lights. The word moth was used the the 17th century to mean someone who was apt to be tempted by something that would lead to their downfall. This is referred to by Shakespeare in The Merchant of Venice, 1596:
"Thus hath the candle singd the moath."