We should not be greedy, corrupt etc. & should not fraud anybody. But why?

God is embodiment of truth. He is free from attachment, untruthfulness, greed etc. The closer we are to God, the more we imbibe the attributes of God. As such, for attaining the goal of our life, it is very necessary that we no more remain greedy, corrupt, deceitful etc.