I think the two go together as one image/analogy. If you're standing too close to the line and someone pushes you, you may go over. If you play with fire, you may get burned.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.