After giving instructions about how to get along with other believers, Paul moves to how we should behave with unbelievers outside of Christ and those who persecute us.
Joy is found in God Alone. God causes the Israelites to have joy and commit themselves to joyous praise. He teaches them where to locate their joy and how to have joy that isn’t based on feelings or circumstances but based on an everlasting relationship with Him.