bàn jūn rú bàn hǔ
being close to the sovereign can be as perilous as lying with a tiger (idiom)
伴
bàn
partner; companion; comrade; associate
君
jūn
monarch
如
rú
as
虎
hǔ
tiger