Joshua 22:2-5 NIV

2 and said to them, "You have done all that Moses the servant of the LORD commanded,1 and you have obeyed me in everything I commanded.

References for Joshua 22:2

3 For a long time now--to this very day--you have not deserted your brothers but have carried out the mission the LORD your God gave you.
4 Now that the LORD your God has given your brothers rest2 as he promised, return to your homes3 in the land that Moses the servant of the LORD gave you on the other side of the Jordan.4

References for Joshua 22:4

5 But be very careful to keep the commandment5 and the law that Moses the servant of the LORD gave you: to love the LORD 6 your God, to walk in all his ways, to obey his commands,7 to hold fast to him and to serve him with all your heart and all your soul.8"

References for Joshua 22:5