Gravel is no enemy but a playground. Stand up, let the bike work beneath you, look far ahead. Balance is more important than strength here.
Slightly bent knees, weight on the pegs, a loose body: the bike is allowed to move. Looking ahead stabilises.
If gravel attracts you and unsettles you at the same time, the Offroad Mindset is exactly right for you.