A lot of people with the purest motivation end up getting completely burned out. And that's because they lack the wisdom and the skill and the inner space.
If you want to be a doctor, you may say, There are all these beings, they're sick, they're dying, I've got to go out and help them. And so you grab a bag full of scalpels and medicine and rush off. Even though your motivation is very pure, you end up harming beings because you don't know what you're doing.
If you become a monk because it's an easy life, because you're going to be fed, and sheltered and people will respect you, then that is not a very meritorious motivation.
I think it's a meritorious action to become a monk, provided that your motivation is pure.