God’s purpose in warning us is to keep us near to him. He wants our happiness and salvation! He warns us so that terrible things may not happen to us.