Deciding to leave a job that wasn’t working out for you professionally

What’s the hardest decision you’ve ever had to make? Why?