Uttar Pradesh Chief Minister Yogi Adityanath accused the Congress and Samajwadi Party of dividing people along social lines and alleged that Uttar Pradesh witnessed no development when the two parties were in power.