No matter what, it’s a bad idea. You might get away with it 9/10 times, but that 1 time you don’t you could end up in a foreign prison or at the very least be returned to your home country on the next flight and have a lengthy, if not permanent, ban from entering the destination country.
Instead of trying to smuggle illegal shit into other countries, plan accordingly.
If the trip is that important, cut the cycle short. Do some research and see if you can acquire it on the other side once you get there.