Berean Standard Bible (BSB)
These things took place as examples to keep us from craving evil things as they did.
World English Bible (WEB)
Now these things were our examples, to the intent we should not lust after evil things, as they also lusted.
Strong's King James
Now{G1161} these things{G5023} were{G1096}{(G5675)} our{G2257} examples{G5179}, to the intent{G1519} we{G2248} should{G1511}{(G5750)} not{G3361} lust after evil{G2556} things{G1938}, as{G2531} they also{G2548} lusted{G1937}{(G5656)}.
The F.O.G *
(6) Now this happened as an example for us, towards us not being this, not desiring evil as they also lusted.
The F.O.G Message *
Young's Literal Translation
and those things became types of us, for our not passionately desiring evil things, as also these did desire.