Calculator
I was allowed to use my calculator for my math test.
I had spent all week practicing using it for my homework.
I was confident that I would do well on the test.
During the test, my calculator ran out of battery.
I couldn't answer the questions, and ending up failing.