Act with the end in mind.
It is the best thing you can do for your future self. Oddly enough, it’s usually the right thing to do.
Let us hear the conclusion of the whole matter: Fear God, and keep his commandments: for this is the whole duty of man. For God shall bring every work into judgment, with every secret thing, whether it be good, or whether it be evil.Ecclesiastes 12:13-14 KJV