It was stupid of me to forget my umbrella on a rainy day.
It was a stupid mistake to leave the keys inside the car.