Two verses, one each from Jain and Hindu traditions quoted address to that way. It would be seen that they have the identical meaning. Both of them convey the same message of well-being for all, for the whole universe and of removal of all evils. Vaidic and Shraman(Jain and Buddhist) traditions have grown side by side; both have borrowed from and influenced each other. They happen to be two sisters having more or less identical and/or complementary approach. It is therefore not surprising that Jain scholars have time and again insisted on the study of not only Jainism but also on the six schools of thought prevalent in India and collectively known as Shaddarshan. Broadly classified, they are known as Vedic and Shraman traditions, both having origin from the same Indo Aryan culture. Both of them have addressed to the problem of universal happiness and have discovered that the way is to wish and act for happiness and well being of all. If every one acts accordingly , the world can turn into paradise and there would not be any misery; at least the man-made misery would come to an end.
Source: Essence of Jainism - (By Manubhai Doshi)