means that
we should make our best effort and present ourselves favourably when undertaking something or meeting others.
Imagine a case where whatever you are doing, you have to try hard and give your best.; then “Always put your best foot forward” fits well.