Is Bangkok that bike unfriendly?

I've been reading stories about how bad and dangerous biking is in Bangkok. I love exploring cities by bike. Surely it cannot more dangerous than a motorcycle? I can stay away from fast and busy roads. I'll stay mostly to sidewalks, and if the sidewalk cannot be biked on, I can walk with my bike for a bit. Surely if you stay in Bangkok long enough you can discover the best biking streets and paths right?