It is narrated from Imam Baqer (AS) who said: If you want to know there is good in you or not, look at your heart. If you like those who obey God, and do not like those who commit sins, there is good in you, and God likes you. But if your heart does not like those who obey God, and likes those who commit sins, know that there is no good in you and God does not like you, and every human being stays with someone who he/she likes [1].
[1] Osul Kafi, Vol. 3, Page 192.
source : Shafaqna