What is the figurative meaning of As luck would have it?

  • to perform or complete a task
  • to quarrel or stop being friendly
  • by chance, either fortunately or unfortunately
  • a difficult or controversial issue