Taking a dig at Congress and Janata Dal (Secular) in Karnataka, Union Home Minister Amit Shah on Friday said that the dynastic parties cannot work for the poor and the state's development, and only BJP government can work for the betterment of the people under the leadership of Prime Minister Narendra Modi.