So sad

My son turned 1 in October but from birth he has always taken naps and slept at night in his pack n play right next to our bed. Since turning 1, I am teaching him to start sleeping in his own crib in his own room and I started with naps first then we will work at moving him in his room at night...my poor baby just cry’s and cry’s until he eventually falls asleep from crying. I go in and check on him every 5 minuets to let him know he is okay. I feel like such a shitty mom when I went in there and see my sweet boy asleep because it makes me feel like he thinks we aren’t catering to him or aren’t protecting him, idk how to explain it. But am I doing the right thing? I feel like there’s no other way to teach him at this point.