'Yatha drishti tatha srishti'
Yes, it is indeed correct. One's thoughts and feelings both determine one's karma.
The way one perceives people and things around himself, they will appear in that very same way to him.
If you see a person as a friend or as an enemy he will behave the same.
Source: Shremad Bhagwat Geeta