Daniel 1: 9 ESV
“…and God gave Daniel favor and compassion in the sight of the chief of the eunuchs…”

Can the favor of God bring you favor with people too? Absolutely! Daniel did what was right and good in the sight of God in exile and found the favor of God and the favor if his captors.