Berean Standard Bible (BSB)
If it is possible on your part, live at peace with everyone.
World English Bible (WEB)
If it is possible, as much as it is up to you, be at peace with all men.
Strong's King James
If{G1487} it be possible{G1415}, as much as lieth in{G1537} you{G5216}, live peaceably{G1514}{(G5723)} with{G3326} all{G3956} men{G444}.
The F.O.G *
(18) If possible, from yourself, be at shalom-peace with all men,
The F.O.G Message *
Young's Literal Translation
If possible—so far as in you—with all men being in peace;