What am I doing wrong with potatoes?

My potatoes all died earlier than expected, and the entire green withered and disappeared. My soil quality was poor and I did no pest control. I could see bite marks but never saw the actual pests... I also did wrong by overwatering before I realized it but once I stopped that they continued to die like this. I thought potatoes were easy but is this just a result of my poor gardening? lol