Can you eat a cake that was baked 3 days ago and left out on the counter covered with lid?

No, it is not safe to eat a cake that was baked 3 days ago and left out on the counter covered with a lid.

Perishable foods, including cakes, should not be left out at room temperature for more than 2 hours. This is because bacteria can grow rapidly at room temperature, and eating food that has been contaminated with bacteria can cause foodborne illness.

Refrigeration can help to slow the growth of bacteria, so if you want to keep a cake for longer than 2 hours, you should store it in the refrigerator. Cakes can safely be stored in the refrigerator for up to 3 days.

If you are not sure whether a cake is still safe to eat, it is best to err on the side of caution and discard it.