Question: is ghidra better than ida?
Answer: IDA has a debugger whereas Ghidra does not. Ghidra has the ability to load multiple binaries at once into a project, whereas IDA support for this is limited and mostly an ugly hack. This means that you can trace code between an application and its libraries more easily.