It’s a straightforward (pun!) metaphor for doing what is right and typically what God commanded.