["I'm just thinking about quitting my job. My boss is the worst; every time he asks for my idea, if it works it becomes his idea and if it fails it's your idea."]
That would be annoying. If there is anybody over him, you might try reporting it first.
Any time my boss asks for my ideas and they work, it becomes Our idea and then his idea, but if it fails it's your idea.