David’s census was most likely a military census. Its purpose would have been to find the age and location of potential new draftees for service in the army. It was either intended to give David pride in the number of his supporters or was a sign of his fear of another rebellion. Either way, it showed his lack of faith in God.
Kissing was a cultural means of showing respect, friendship, or reverence, as it is in many places today. A kiss was often given as a form of greeting or farewell (19:39). There are only three places in all of Scripture where kissing is connected with romance (Prov. 7:13, Song 1:2; 8:1.).
When attacking a city, ropes with grappling hooks were often used to bring down its walls (17:13). Since most cities were built on hills, the attackers could simply pull the walls away and down the slopes of the hill.
A stiff penalty. The punishment for cursing God (Lev. 24:10–23), the king (Ex. 22:28), or one’s parents (Lev. 20:9) was death. Shimei cursed King David (2 Sam. 16:5–14), but later begged David’s forgiveness, and David forgave him (19:16–23).