I understand the explanation that God sometimes gives satan permission to do...
1 Chronicles 21:1
1 Then Satan stood against Israel and incited David to number Israel.
2 Samuel 24:1 says God made David take a census. 1 Chronicles 21:1 says that...
2 Chronicles 21:1
1 Jehoshaphat slept with his fathers and was buried with his fathers in the city of David, and Jehoram his son reigned in his place.