His remarks came close on the heels of Ramdev being upset with the BJP leadership for denial of tickets to some of his associates.
Siding with the issues raised by Ramdev, Modi said he also felt the same about black money, corruption and mis-governance in the country.
The BJP's prime ministerial candidate said if there was no "fire of truth" within Ramdev, then he would have run away long back.
"He has a fire within himself as to why bad things are happening in the country, why there is black money, why this corruption, why this bad governance" Modi said during a Yoga Mahotsav organised at the Ram Leela grounds here.
"There is a pain behind all this as well. His issues are such which are liked by people like me. But there are many people whose sleep vanishes when he rakes up certain issues.
So they get behind him," he remarked.
He complimented Ramdev for organising the event in which technology was utilised in a big way. The programme was
transmitted to 600 districts simultaneously.
Modi said that in the coming times, India will benefit from the attraction Yoga has created to serve humanity at large.
Taking a jibe at the lack of farsightedness of governments to promote yoga, Modi maintained that Ramdev has revolutionised yoga and made it a people's movement.
"If the Indian government had farsightedness...its policies were such...then through yoga we could have won the world over. Yoga is such a subject which can attract anyone. It could have been a great medium to reach out to the world," Modi said, adding in the coming times he would promote yoga. He also asked countrymen to celebrate 75 years of India's Independence and urged them to take a pledge to take the nation to greater heights.
After the conclusion of Modi's address, Ramdev without mentioning his name asked his supporters to help bring a "good leader" with "good intentions" to power.
"Does the country require a good leader Hope you understand (what I mean). People with good intentions should be given the reins of the country. Do you agree with me We have to get rid of the corrupt," Ramdev said.