Bahujan Samaj Party chief Mayawati on Saturday took a dig at the BJP, saying instead of spending its energy and resources on "non-essential" issues such as a uniform civil code, the party and its government should work for curbing inflation and alleviating poverty.