God tests our hearts and mind because He loves us and wants us nowhere near being religious robots who spout vain words as prayers thinking they will reach His heart.