Satan tempts (to make us weaker), but God’s goal is to test (to make us stronger) and oftentimes we are tested by God permitting Satan to tempt us. In the Bible (Luke 4) we see Jesus being tested by God as He is led by God into the wilderness to be tempted by the devil.