Name for setup and reversal style of writing?

What is the name of an expression where two noun/verb sentences are reversed in the second half of the expression?

Here's an example:

People were created to be loved. Things were created to be used. The reason the world is in chaos is because things are being loved and people are being used.


Solution 1:

It seems to be an example of chiasmus