The highest dharma of man is to attain God. Only actions that are performed with this goal can be said to be dharmic. All else is adharma, unrighteousness.

up