Hi Safaa, this quote is from "Timon of Athens", Act 3 scene 1.
It means that sometimes if you are honest, you finish last or lose good opportunities. Sometimes the people who tell the most lies are the ones who end up getting ahead of honest people. For some people ethics are nonexistent and they are willing to lie, cheat, and steal if that is going to help them get ahead in this world.