You know what is right and what's wrong regardless of your age, background, religion, or or any other influences on our morality. It's your responsibility to choose what is right and always have good intentions.
Smartness is derived from making decisions with good intent. This is why "what's good isn't always what's right" because what makes it right is the intention.
Being smart is being intentional - having a reason behind your decisions.