A greedy algorithm is a computer algorithm where a user is trying to get to an end goal and has a set of options in front of him, without knowing if the choice he makes would take him further or closer to his goal he is only able to make those choices which are in front of him and hope that it would cost him the least amount of traversals to reach his goal, I’m relating this to human choices; a lot of the choices we make are only made due to two factors namely:
We are making the decision that seems like the best at that particular point in time
We aren’t able to see the full domino effect of that particular decision so we trust that we are making the right decision based on our existing knowledge and experience.
With that being said it’s helpful to not be anxious when bad decisions are made but rather try to make better decisions as at the time when that decision was being made we genuinely thought it was the best decision and it was (at that point in time).